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.2 adds a minor feature where an RGB color created from values can silently inherit the `#name` of a predefined color if `color/rgb/colors` has already been loaded. 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,952 of 196,106
Downloads: 16,307,670

Daily

Ranking: 1,572 of 196,079
Downloads: 7,682

Depended by

RankDownloadsName
5,8711,123,894pdf-writer
10,444314,139miro
11,539253,727glimmer-dsl-libui
13,698178,039colorscore
15,580138,646rmthemegen
15,939132,821geo_pattern
16,349126,229gradient
19,38293,684coltrane
20,11187,973iroki
20,87682,872shade
21,53678,924cloud-mu
26,66857,065ringleader
27,71454,013color_namer
28,56851,761colorb
38,96833,637huey
39,23633,345limitless-led
39,35933,210ydim
39,91132,573code_rippa
41,20831,224rails-data-explorer
43,56229,054coloractor

Depends on

RankDownloadsName
81,393,995,228rake
91,354,258,067json
141,280,319,739minitest
98493,362,474simplecov
154336,079,615rdoc
1,01750,230,652standard
1,02449,925,548simplecov-lcov
2,13412,980,080minitest-focus
2,3809,506,771hoe
3,4834,019,813minitest-autotest
40,00732,485hoe-halostatue

Owners

#GravatarHandle
1iconaustin