Categories: None [Edit]

color

https://rubygems.org/gems/color
https://github.com/halostatue/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,908 of 187,548
Downloads: 14,406,545

Daily

Ranking: 1,895 of 187,532
Downloads: 7,862

Depended by

RankDownloadsName
5,5431,087,965pdf-writer
9,787302,603miro
11,829204,073glimmer-dsl-libui
13,012169,348colorscore
14,719133,207rmthemegen
15,257125,098geo_pattern
15,421122,594gradient
18,95885,800coltrane
19,29383,445iroki
19,54881,807shade
21,22271,854cloud-mu
25,89553,711ringleader
27,71348,777colorb
28,94545,802color_namer
37,69532,038huey
37,85231,861limitless-led
38,52931,123code_rippa
40,53929,128rails-data-explorer
42,91727,053derailed-ziya
43,32626,707smurfville

Depends on

RankDownloadsName
101,164,433,060rake
131,135,032,942json
151,088,565,104minitest
98424,894,822simplecov
183247,752,095rdoc
1,05042,461,428simplecov-lcov
1,20435,668,500standard
2,15710,356,836minitest-focus
2,2988,984,238hoe
3,2943,876,455minitest-autotest
11,897201,591hoe-git
43,13926,863minitest-moar
53,86519,858hoe-halostatue

Owners

#GravatarHandle
1iconaustin