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,946 of 192,666
Downloads: 15,537,356

Daily

Ranking: 2,032 of 192,588
Downloads: 5,949

Depended by

RankDownloadsName
5,7221,111,479pdf-writer
10,259309,988miro
11,721232,403glimmer-dsl-libui
13,471175,033colorscore
15,285136,667rmthemegen
15,718129,741geo_pattern
16,027125,080gradient
19,37989,720coltrane
19,80786,438iroki
20,40582,389shade
21,41876,240cloud-mu
26,38055,990ringleader
28,31350,580colorb
28,97548,842color_namer
38,51633,051huey
38,70232,857limitless-led
39,48032,003code_rippa
40,91530,479rails-data-explorer
43,75227,909derailed-ziya
44,18127,559coloractor

Depends on

RankDownloadsName
81,310,508,356rake
121,265,985,261json
141,206,819,610minitest
99464,871,551simplecov
165300,390,468rdoc
1,02746,935,936simplecov-lcov
1,05045,598,427standard
2,14012,047,144minitest-focus
2,3549,259,350hoe
3,4093,957,065minitest-autotest
44,35427,412hoe-halostatue

Owners

#GravatarHandle
1iconaustin