How to automatically choose a label color to contrast with background | TrendCT
Posted by jpluimers on 2018/11/14
Choosing label colours other than black or white is like making a dynamic mouse cursor that inverts the colours underneath it: it fails horribly in the low contrast regions, and looks very strange on pink-noise backgrounds.
This approach is uses black and white depending on the perceived brightness:
[WayBack] How to automatically choose a label color to contrast with background | TrendCT:
What would data viz be without labels? Just viz, that’s what. This guide aimed at web designers discusses how to choose a label text color with enough contrast.
Via: [WayBack] For all those people incapable of choosing the right color combinations. – Thomas Mueller (dummzeuch) – Google+
–jeroen
Leave a Reply