Something like calculating the average value of rgb components and then decide whether to use black or white?
Do I have to convert RGB to HSV in first step \'cause R
what about that?
private static Color GetReadableForeColor(Color c) { return (((c.R + c.B + c.G) / 3) > 128) ? Color.Black : Color.White; }