RubyGems Navigation menu

is_dark 0.2.3

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.

Gemfile:
=

安装:
=

版本列表:

  1. 0.2.3 February 03, 2025 (6.5 KB)
显示所有版本 (共 23 个)

Runtime 依赖 (1):

rmagick ~> 5.2

Development 依赖 (2):

rspec ~> 3.13
rubocop ~> 1.69

所有者:

推送者:

作者:

  • Sergei Illarionov, Liamshin Ilia

SHA 256 校验和:

=

下载总量 7,514

这个版本 171

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 2.7.0

新的版本需要开启多因素验证(MFA): true

使用多因素验证(MFA)发布的版本: true

链接: