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,958 of 197,085
Downloads: 16,539,203

Daily

Ranking: 3,018 of 197,066
Downloads: 1,448

Depended by

RankDownloadsName
5,8971,130,391pdf-writer
10,514315,889miro
11,427263,262glimmer-dsl-libui
13,784179,150colorscore
15,718138,931rmthemegen
15,996134,332geo_pattern
16,479126,695gradient
19,51094,258coltrane
20,27288,235iroki
21,08382,975shade
21,66379,403cloud-mu
26,73657,617color_namer
26,86257,207ringleader
28,76551,887colorb
39,26433,698huey
39,47433,471ydim
39,52333,421limitless-led
40,21332,634code_rippa
41,45031,339rails-data-explorer
43,86929,085coloractor

Depends on

RankDownloadsName
81,428,256,062rake
91,392,216,932json
141,310,230,254minitest
98505,778,426simplecov
150353,290,307rdoc
1,00152,206,783standard
1,01850,992,319simplecov-lcov
2,13813,257,752minitest-focus
2,4059,615,266hoe
3,5134,041,825minitest-autotest
38,89334,141hoe-halostatue

Owners

#GravatarHandle
1iconaustin