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:
=

installation:
=

Versions:

  1. 0.2.3 February 03, 2025 (6,5 ko)
Voir toutes les versions (23)

Dépendances de Runtime (1):

rmagick ~> 5.2

Dépendances de Development (2):

rspec ~> 3.13
rubocop ~> 1.69

Propriétaires:

Pushed by:

Auteurs:

  • Sergei Illarionov, Liamshin Ilia

Total de contrôle SHA 256:

=

Total de téléchargements 7 514

Pour cette version 171

Version publiée:

License:

MIT

Version de Ruby requise: >= 2.7.0

New versions require MFA: true

Version published with MFA: true

Liens: