GitHub repository: ryjen/color-luminance
Primary language: JavaScript
Description: Detects if a hex or rgb color is dark or light. It is based on the w3 documentation for color luminance: https://www.w3.org/TR/WCAG20/#relativeluminancedef .