RubyGems.org

Calculate the contrast ratio between 2 colors, for checking against the WCAG recommended contrast ratio for legibility.

installgem install wcag_color_contrast
Authors

Mark Dodwell

536 total downloads 536 for this version
Owners

Ca4a2f5faead6e957adb5caf34d5107f

Licenses

MIT

Gemfile
gem 'wcag_color_contrast', '~> 0.0.1'
Versions
  1. 0.0.1 May 30, 2013 (6 KB)