Categories: None [Edit]

color

https://rubygems.org/gems/color
https://github.com/halostatue/color
Color is a Ruby library to provide basic RGB, CMYK, HSL, and other colourspace manipulation support to applications that require it. It also provides 152 named RGB colours (184 with spelling variations) that are commonly supported in HTML, SVG, and X11 applications. A technique for generating monochromatic contrasting palettes is also included. The Color library performs purely mathematical manipulation of the colours based on colour theory without reference to colour profiles (such as sRGB or Adobe RGB). For most purposes, when working with RGB and HSL colour spaces, this won't matter. Absolute colour spaces (like CIE L*a*b* and XYZ) and cannot be reliably converted to relative colour spaces (like RGB) without colour profiles. Color 1.8 adds an alpha parameter to all <tt>#css_rgba</tt> calls, fixes a bug exposed by new constant lookup semantics in Ruby 2, and ensures that <tt>Color.equivalent?</tt> can only be called on Color instances. Barring bugs introduced in this release, this (really) is the last version of color that supports Ruby 1.8, so make sure that your gem specification is set properly (to <tt>~> 1.8</tt>) if that matters for your application. This version will no longer be supported one year after the release of color 2.0.

Total

Ranking: 1,797 of 183,471
Downloads: 12,838,237

Daily

Ranking: 2,030 of 183,459
Downloads: 2,978

Depended by

RankDownloadsName
5,2021,052,979pdf-writer
9,239291,447miro
12,132168,090glimmer-dsl-libui
12,936149,352colorscore
14,012128,772rmthemegen
14,661118,793geo_pattern
14,895115,451gradient
18,37381,228coltrane
18,40980,990shade
18,67879,084iroki
21,12165,583cloud-mu
25,44350,188ringleader
27,13545,797colorb
29,51240,689color_namer
36,86630,252limitless-led
36,90630,221huey
37,56029,526code_rippa
39,87827,371rails-data-explorer
41,71125,818derailed-ziya
41,96425,621smurfville

Depends on

RankDownloadsName
10968,905,115rake
19910,051,170minitest
98353,709,953simplecov
210172,448,676rdoc
2,1048,603,943hoe
2,1768,062,084minitest-focus
3,1003,729,860minitest-autotest
3,4862,749,765minitest-bisect
4,0281,933,620minitest-around
11,298191,956hoe-git
15,559106,567hoe-travis
18,61079,512minitest-pretty_diff
26,50947,331hoe-doofus
28,14243,501hoe-gemspec2
44,25123,887minitest-moar

Owners

#GravatarHandle
1iconbinarywaterfall
2iconmly
3iconaustin