Registry / utility / color-tools

color-tools

JSON →
library1.3.0rbrubygemsunverified

color-tools is a Ruby library providing RGB, CMYK, and other colourspace support, plus 152 named RGB colours and monochromatic palette generation.

gem install color-tools
INSTALL
IMPORT
SIG · COLOR-TOOLS
C
color-tools
utilityrubyv1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Color
require 'color'

Create an RGB color and convert to CMYK

require 'color' c = Color::RGB.new(255, 0, 0) puts c.to_cmyk # => Color::CMYK object
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
color-tools — gem install color-tools · libregistry