RubyGems Navigation menu

css_color_contrast 0.2.0

Utility to calculate the contrast ratio between 2 colors, for checking the level of conformance to the WCAG 2.0 criteria. Hexadecimal notation, RGB/HSL/HWB functions are supported as input formats. And a command-line interface is provided for a demonstration purpose.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.2.0 - January 11, 2021 (12.5 KB)
  2. 0.1.0 - January 13, 2020 (10 KB)

Runtime Dependencies (1):

Development Dependencies (5):

bundler ~> 2.1
rake ~> 13.0
rspec ~> 3.10
rubocop ~> 1.8
yard ~> 0.9

Owners:

Pushed by:

Authors:

  • HASHIMOTO, Naoki

SHA 256 checksum:

2a4f6e8c56474d4618aaa43f75f0c376c6c9286a6d06d6d6e994f0f305cc0a32

Total downloads 3,924

For this version 2,045

License:

MIT

Required Ruby Version: >= 2.3.0

Links: