Categories: None [Edit]

is_dark

https://rubygems.org/gems/is_dark
https://github.com/butteff/is_dark_ruby_gem
Detects 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.

Total

Ranking: 106,405 of 197,835
Downloads: 7,911

Daily

Ranking: 80,375 of 197,813
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
291,033,074,090rspec
55765,287,174rubocop
93157,714,712rmagick

Owners

#GravatarHandle
1iconbutteff