Arnaud's links
Home
RSS Feed
Tag cloud
Login
all links
contrast - How to decide font color in white or black depending on background color? - Stack Overflow
if (red
0.299 + green
0.587 + blue*0.114) > 186 use #000000 else use #ffffff
October 28, 2016 - permalink
-
http://stackoverflow.com/questions/3942878/how-to-decide-font-color-in-white-or-black-depending-on-background-color
color
contrast
css