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,964 of 198,430
Downloads: 16,761,858

Daily

Ranking: 2,313 of 198,401
Downloads: 6,892

Depended by

RankDownloadsName
5,9401,134,843pdf-writer
10,598317,454miro
11,468267,657glimmer-dsl-libui
13,838180,828colorscore
15,837139,177rmthemegen
16,065135,856geo_pattern
16,605127,178gradient
19,61094,931coltrane
20,44588,551iroki
21,25083,018shade
21,74779,953cloud-mu
26,02060,884color_namer
27,06857,348ringleader
29,00652,012colorb
39,50633,796huey
39,57833,726ydim
39,77833,516limitless-led
40,47732,731code_rippa
41,70231,431rails-data-explorer
44,19529,125coloractor

Depends on

RankDownloadsName
81,462,600,952rake
91,431,883,180json
141,341,705,701minitest
97518,966,733simplecov
142373,659,467rdoc
98654,216,078standard
1,01252,432,274simplecov-lcov
2,14513,480,605minitest-focus
2,4129,714,887hoe
3,5424,063,473minitest-autotest
38,46835,071hoe-halostatue

Owners

#GravatarHandle
1iconaustin