is_dark
v0.2.3RubyGems· RubyDetects a dark color based on luminance W3 standarts ( https://www.w3.org/TR/WCAG20/#relativeluminancedef ). It has these options: * is a hex color dark * is an Imagick pixel dark * is an Imagick pixel from a blob dark * is an area in a blob over a dark background (uses Imagick for it too). An example practical aspect: it can be useful to understand will a black colored text be visible or not over an area.
The verdict
Aging — last published over a year ago — check before adopting. Check the repo for activity before adopting.
Check the repo for activity before adopting.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAging
PopularityNiche
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published over a year ago — check before adopting.
Popularity
7 downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
- 0.2.3over a year ago