sylvainlg / is-dark-color Goto Github PK
View Code? Open in Web Editor NEWThis project forked from gion/is-dark-color
Detects if a hex color is dark or light. It is based on the w3 documentation for color luminance: https://www.w3.org/TR/WCAG20/#relativeluminancedef .
License: MIT License