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,651 of 178,185
Downloads: 10,781,097

Daily

Ranking: 2,249 of 178,170
Downloads: 2,507

Depended by

RankDownloadsName
4,6791,025,678pdf-writer
8,528261,045miro
12,345132,511colorscore
12,799124,169glimmer-dsl-libui
13,012120,868rmthemegen
13,833109,060geo_pattern
15,68988,544gradient
16,80479,456shade
17,96871,607iroki
18,02671,309coltrane
20,99757,198cloud-mu
24,39646,410ringleader
25,65343,298colorb
27,75238,871color_namer
35,26328,349huey
35,75227,852limitless-led
35,94327,645code_rippa
38,94525,011rails-data-explorer
39,73724,403smurfville
40,39223,883derailed-ziya

Depends on

RankDownloadsName
16764,426,759rake
20712,982,665minitest
99276,281,818simplecov
206135,001,818rdoc
1,8578,126,286hoe
2,0746,533,056minitest-focus
2,7963,536,705minitest-autotest
3,3172,341,637minitest-bisect
3,9581,511,007minitest-around
10,263185,860hoe-git
14,272103,349hoe-travis
20,82757,865minitest-pretty_diff
27,05440,230hoe-doofus
29,49935,764hoe-gemspec2
44,12721,278minitest-moar

Owners

#GravatarHandle
1iconbinarywaterfall
2iconmly
3iconaustin