I have a (DevExpress) GridView with which I programmatically set background and text colors based on certain criteria. There are some circumstances where the background and text colors turn out to be very similar, making the text hard to read. What is the best way to ensure that there is always a contrast between the two colors? And is there a way to do this automatically with the DevExpress control?
Thanks.