=3D color-tools README
color-tools is a Ruby library to provide RGB, CMYK, and other colour
support to applications that require it. It provides 148 named RGB
colours that are commonly supported and used in HTML, colour
manipulation operations, and a monochromatic contrasting palette
generator. Version 1.2 introduces two new colour spaces: GrayScale
(also known as GreyScale) and YIQ (NTSC).
The GreyScale colour space has been added primarily to add new
colour space support for PDF::Writer (PDF documents support CMYK,
RGB, and Grey device colour spaces). The YIQ colour space has been
promoted to a full colour class to make future colour management of
this class easier.
=3D=3D Download and Installation
Download color-tools from <http://rubyforge.org/frs/?group_id=3D81>.
Installing this package is as simple as:
% ruby setup.rb
Alternatively, you can use the RubyGem version of color-tools
available as color-tools-1.2.0.gem from the usual sources.
Copyright 2005 by Austin Ziegler
Color:alette was developed based on techniques described by Andy
at SlayerOffice and by Patrick Fitzgerald of BarelyFitz in
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
* The names of its contributors may not be used to endorse or
promote products derived from this software without specific prior
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
=3D=3D color-utils 1.2.0
* Changed installer from a custom-written install.rb to setup.rb
* Added Color::GreyScale (or Color::GrayScale).
* Added Color::YIQ. This colour definition is incomplete; it does
not have conversions from YIQ to other colour spaces.