Categories: None [Edit]
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,771 of 182,605
Downloads: 12,532,221
Daily
Ranking: 1,945 of 182,594
Downloads: 3,469
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
5,108 | 1,049,778 | pdf-writer |
9,100 | 290,234 | miro |
12,127 | 163,032 | glimmer-dsl-libui |
12,888 | 145,692 | colorscore |
13,856 | 127,794 | rmthemegen |
14,574 | 116,975 | geo_pattern |
14,795 | 113,915 | gradient |
18,158 | 80,758 | shade |
18,266 | 80,013 | coltrane |
18,534 | 78,190 | iroki |
21,189 | 63,959 | cloud-mu |
25,281 | 49,730 | ringleader |
26,902 | 45,496 | colorb |
29,420 | 40,154 | color_namer |
36,660 | 29,985 | huey |
36,685 | 29,968 | limitless-led |
37,319 | 29,304 | code_rippa |
39,713 | 27,089 | rails-data-explorer |
41,531 | 25,579 | derailed-ziya |
41,694 | 25,451 | smurfville |
Depends on
Rank | Downloads | Name |
---|---|---|
11 | 933,820,649 | rake |
19 | 876,513,053 | minitest |
99 | 340,867,562 | simplecov |
212 | 162,893,994 | rdoc |
2,066 | 8,545,038 | hoe |
2,167 | 7,792,762 | minitest-focus |
3,053 | 3,698,594 | minitest-autotest |
3,457 | 2,703,440 | minitest-bisect |
4,010 | 1,872,999 | minitest-around |
11,148 | 191,210 | hoe-git |
15,369 | 106,196 | hoe-travis |
18,937 | 75,511 | minitest-pretty_diff |
26,542 | 46,390 | hoe-doofus |
28,248 | 42,478 | hoe-gemspec2 |
44,316 | 23,479 | minitest-moar |
Owners
# | Gravatar | Handle |
---|---|---|
1 | austin | |
2 | binarywaterfall | |
3 | mly |