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 193,649
Downloads: 15,811,119

Daily

Ranking: 2,056 of 193,618
Downloads: 8,692

Depended by

RankDownloadsName
5,7781,114,654pdf-writer
10,341311,616miro
11,694238,590glimmer-dsl-libui
13,560175,965colorscore
15,387137,370rmthemegen
15,814130,670geo_pattern
16,159125,513gradient
19,46190,521coltrane
19,93586,962iroki
20,57982,533shade
21,46877,037cloud-mu
26,49856,347ringleader
28,43750,899colorb
28,92749,574color_namer
38,68733,232huey
38,89433,016limitless-led
39,66132,152code_rippa
40,96330,773rails-data-explorer
43,73828,235coloractor
43,86428,114derailed-ziya

Depends on

RankDownloadsName
81,345,057,418rake
101,299,938,726json
141,235,435,274minitest
97475,523,798simplecov
163313,246,925rdoc
1,02848,091,528simplecov-lcov
1,03547,397,988standard
2,13712,427,518minitest-focus
2,3679,341,101hoe
3,4373,977,071minitest-autotest
42,49029,390hoe-halostatue

Owners

#GravatarHandle
1iconaustin