is-dark-color
MITDetects 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
66
Security score
0 known advisories in v1.2.0
OpenSSF Scorecard 2.1/10
Weekly downloads
—
Unpacked size
7.8 kB
Dependencies
0
Last publish
8 years ago
Security advisories
No known vulnerabilities affect v1.2.0.
OpenSSF ScorecardJul 27, 2026
- Code-Review1
- Binary-Artifacts10
- Maintained0
- CII-Best-Practices0
- Security-Policy0
- Fuzzing0
- License10
- Branch-Protection0
- SAST0