Categories: None [Edit]

color

https://rubygems.org/gems/color
https://github.com/halostatue/color
Color is a Ruby library to provide basic RGB, CMYK, HSL, and other colourspace manipulation support to applications that require it. It also provides 152 named RGB colours (184 with spelling variations) that are commonly supported in HTML, SVG, and X11 applications. A technique for generating monochromatic contrasting palettes is also included. The Color library performs purely mathematical manipulation of the colours based on colour theory without reference to colour profiles (such as sRGB or Adobe RGB). For most purposes, when working with RGB and HSL colour spaces, this won't matter. Absolute colour spaces (like CIE L*a*b* and XYZ) and cannot be reliably converted to relative colour spaces (like RGB) without colour profiles. Color 1.8 adds an alpha parameter to all <tt>#css_rgba</tt> calls, fixes a bug exposed by new constant lookup semantics in Ruby 2, and ensures that <tt>Color.equivalent?</tt> can only be called on Color instances. Barring bugs introduced in this release, this (really) is the last version of color that supports Ruby 1.8, so make sure that your gem specification is set properly (to <tt>~> 1.8</tt>) if that matters for your application. This version will no longer be supported one year after the release of color 2.0.

Total

Ranking: 1,785 of 183,092
Downloads: 12,706,298

Daily

Ranking: 2,012 of 183,073
Downloads: 6,487

Depended by

RankDownloadsName
5,1641,051,565pdf-writer
9,170290,916miro
12,118166,004glimmer-dsl-libui
12,937147,601colorscore
13,946128,316rmthemegen
14,632117,826geo_pattern
14,851114,797gradient
18,29480,891shade
18,33480,635coltrane
18,61778,639iroki
21,26664,409cloud-mu
25,37949,988ringleader
27,03545,645colorb
29,53940,331color_namer
36,78630,114limitless-led
36,79030,113huey
37,44829,423code_rippa
39,78227,255rails-data-explorer
41,63625,703derailed-ziya
41,82825,556smurfville

Depends on

RankDownloadsName
10953,159,306rake
19894,542,066minitest
99347,960,422simplecov
210167,798,089rdoc
2,0848,572,909hoe
2,1727,938,619minitest-focus
3,0783,715,332minitest-autotest
3,4722,729,677minitest-bisect
4,0191,908,403minitest-around
11,233191,610hoe-git
15,484106,402hoe-travis
18,85977,122minitest-pretty_diff
26,52746,891hoe-doofus
28,20043,024hoe-gemspec2
44,28323,708minitest-moar

Owners

#GravatarHandle
1iconaustin
2iconbinarywaterfall
3iconmly