Categories: None [Edit]
color
Color is a Ruby library to provide RGB, CMYK, HSL, and other color space
manipulation support to applications that require it. It provides optional named
RGB colors that are commonly supported in HTML, SVG, and X11 applications.
The Color library performs purely mathematical manipulation of the colors based
on color theory without reference to device color profiles (such as sRGB or
Adobe RGB). For most purposes, when working with RGB and HSL color spaces, this
won't matter. Absolute color spaces (like CIE LAB and CIE XYZ) cannot be
reliably converted to relative color spaces (like RGB) without color profiles.
When necessary for conversions, Color provides D65 and D50 reference white
values in Color::XYZ.
Color 2.1 fixes a Color::XYZ bug where the values were improperly clamped and
adds more Color::XYZ white points for standard illuminants. It builds on the
Color 2.0 major release, dropping support for all versions of Ruby prior to 3.2
as well as removing or renaming a number of features. The main breaking changes
are:
- Color classes are immutable Data objects; they are no longer mutable.
- RGB named colors are no longer loaded on gem startup, but must be required
explicitly (this is _not_ done via `autoload` because there are more than 100
named colors with spelling variations) with `require "color/rgb/colors"`.
- Color palettes have been removed.
- `Color::CSS` and `Color::CSS#[]` have been removed.
Total
Ranking: 1,871 of 186,938
Downloads: 14,198,490
Daily
Ranking: 2,057 of 186,929
Downloads: 5,729
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|---|---|
5,510 | 1,083,372 | pdf-writer |
9,716 | 300,649 | miro |
11,998 | 193,849 | glimmer-dsl-libui |
12,978 | 166,820 | colorscore |
14,629 | 132,236 | rmthemegen |
15,152 | 124,368 | geo_pattern |
15,342 | 121,361 | gradient |
18,883 | 84,926 | coltrane |
19,268 | 82,187 | iroki |
19,334 | 81,675 | shade |
21,255 | 70,383 | cloud-mu |
25,974 | 52,592 | ringleader |
27,758 | 47,788 | colorb |
28,907 | 45,036 | color_namer |
37,616 | 31,525 | huey |
37,780 | 31,345 | limitless-led |
38,446 | 30,630 | code_rippa |
40,587 | 28,562 | rails-data-explorer |
42,491 | 26,895 | derailed-ziya |
43,094 | 26,406 | smurfville |
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 1,138,908,403 | rake |
13 | 1,108,003,918 | json |
15 | 1,064,881,893 | minitest |
99 | 417,116,683 | simplecov |
188 | 236,287,282 | rdoc |
1,048 | 41,806,683 | simplecov-lcov |
1,245 | 33,668,413 | standard |
2,153 | 10,082,665 | minitest-focus |
2,270 | 8,917,081 | hoe |
3,276 | 3,861,074 | minitest-autotest |
11,846 | 199,133 | hoe-git |
43,355 | 26,192 | minitest-moar |
59,041 | 17,245 | hoe-halostatue |
Owners
# | Gravatar | Handle |
---|---|---|
1 | austin | |
2 | binarywaterfall | |
3 | mly |