Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zachrose
· 10y ago · 0 comments
Also, there's a neat technique to make the text color either black or white depending on what has more contrast against the background color.
https://24ways.org/2010/calculating-color-contrast
Comments
[–]
0x1d
10y ago
Nice! I'm definitely going to use this. The text is barely visible on a lot of the lighter colors right now.