Sha256: 52a77d60a690fd88405deec219d41c81b92296b5cf15b2061795a2a5662d0bd0
Contents?: true
Size: 768 Bytes
Versions: 8
Compression:
Stored size: 768 Bytes
Contents
= Colorist Colorist is a library built to handle the conversion, comparison, and manipulation of colors in Ruby projects with an emphasis on W3C standards and CSS-style hex notation. See the Color class for additional details on the available methods. == Example require 'colorist' include Colorist gray = Color.new(0x333333) gray + gray # => #<Color #666666> gray - "#333" # => #<Color #000000> gray.invert # => #<Color #cccccc> gray.brightness # => 0.2 gray.contrast_with("#f00") == Resources * GitHub Source: http://github.com/mbleigh/colorist * Lighthouse (for bugs): http://mbleigh.lighthouseapp.com/projects/15686-colorist Copyright (c) 2008 Michael Bleigh and Intridea, Inc. Released under the MIT open source license.
Version data entries
8 entries across 8 versions & 4 rubygems