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,970 of 199,228
Downloads: 16,896,011

Daily

Ranking: 2,284 of 199,184
Downloads: 7,787

Depended by

RankDownloadsName
5,9531,137,059pdf-writer
10,648318,304miro
11,465270,451glimmer-dsl-libui
13,889181,666colorscore
15,892139,721rmthemegen
16,066137,298geo_pattern
16,662127,680gradient
19,68595,465coltrane
20,50788,976iroki
21,37083,063shade
21,74680,825cloud-mu
25,53863,041color_namer
27,15857,651ringleader
29,12852,183colorb
39,63633,946ydim
39,64333,937huey
39,90633,676limitless-led
40,62832,857code_rippa
41,81731,589rails-data-explorer
44,39529,188coloractor

Depends on

RankDownloadsName
71,480,270,976rake
91,452,349,298json
141,358,956,518minitest
97526,029,737simplecov
142384,735,258rdoc
97655,329,141standard
1,01253,075,243simplecov-lcov
2,14813,594,507minitest-focus
2,4079,898,711hoe
3,5534,076,512minitest-autotest
37,44836,696hoe-halostatue

Owners

#GravatarHandle
1iconaustin