I draw some text in a custom Label.
User can modify the label background, but the control shoud accomodate the text visibility in dependence of the specified background.
So, when the background is DARK I want to draw white foreground text, when its LIGHT I want BLACK foreground.
How to "understand" if the color is LIGHT or DARK?