How to have the browser pick a contrasting color in CSS
Have you ever wished you could write simple CSS to declare a color, and then have the browser figure out whether black or white should be paired with that color?
https://webkit.org/blog/16929/contrast-color/?ut


Seonglae Cho