CSS-Tricks
Follow
The thing about contrast-color
One of our favorites, Andy Clarke, on the one thing keeping the CSS contrast-color() function from true glory:
For my website design, I chose a dark blue background colour (#212E45) and light text (#d3d5da). This