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,950 of 193,188
Downloads: 15,673,672

Daily

Ranking: 1,698 of 193,154
Downloads: 11,889

Depended by

RankDownloadsName
5,7451,113,255pdf-writer
10,313310,777miro
11,722235,165glimmer-dsl-libui
13,515175,482colorscore
15,336137,121rmthemegen
15,769130,233geo_pattern
16,100125,298gradient
19,39290,325coltrane
19,85786,842iroki
20,51382,428shade
21,44076,804cloud-mu
26,44856,194ringleader
28,37950,781colorb
28,98449,145color_namer
38,61233,175huey
38,80832,967limitless-led
39,58132,093code_rippa
40,92630,672rails-data-explorer
43,75628,082derailed-ziya
43,93127,932coloractor

Depends on

RankDownloadsName
81,329,290,503rake
121,282,218,002json
141,221,082,844minitest
97470,194,359simplecov
165306,832,994rdoc
1,02547,508,579simplecov-lcov
1,04146,492,511standard
2,13912,230,663minitest-focus
2,3639,295,711hoe
3,4223,966,318minitest-autotest
43,75928,078hoe-halostatue

Owners

#GravatarHandle
1iconaustin