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,962 of 197,744
Downloads: 16,652,848

Daily

Ranking: 2,429 of 197,724
Downloads: 6,177

Depended by

RankDownloadsName
5,9231,132,470pdf-writer
10,560316,582miro
11,436265,504glimmer-dsl-libui
13,820179,687colorscore
15,774138,998rmthemegen
16,045134,908geo_pattern
16,533126,914gradient
19,54194,626coltrane
20,35788,346iroki
21,15382,997shade
21,70379,626cloud-mu
26,39659,152color_namer
26,94457,280ringleader
28,89051,930colorb
39,37633,744huey
39,53233,582ydim
39,65333,461limitless-led
40,34132,669code_rippa
41,57131,374rails-data-explorer
44,02029,098coloractor

Depends on

RankDownloadsName
81,444,561,272rake
91,410,138,612json
141,324,561,847minitest
97511,923,440simplecov
147362,648,494rdoc
99453,134,374standard
1,01351,785,464simplecov-lcov
2,14213,363,282minitest-focus
2,4099,652,728hoe
3,5234,051,399minitest-autotest
38,74834,500hoe-halostatue

Owners

#GravatarHandle
1iconaustin