RubyGems Navigation menu

is_dark 0.1.0

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.1.0 - May 09, 2024 (5.5KB)
  2. 0.0.9 - April 15, 2024 (5.5KB)
  3. 0.0.8 - April 14, 2024 (5.5KB)
  4. 0.0.7 - July 08, 2023 (5.5KB)
  5. 0.0.6 - July 07, 2023 (5.5KB)
全てのバージョンを表示(全10件)

Runtime依存関係 (1):

rmagick ~> 5.2

所有者:

プッシュ者:

作者:

  • Sergei Illarionov

SHA 256チェックサム:

3a7f8eb6e72b36e9df8dccf3118ced33cb7aa39214c892de0d174981ccf43c25

累計ダウンロード数 3,327

このバージョンのみ 185

ライセンス:

MIT

必要なRubyのバージョン: >= 2.7.0

リンク: