color-tools README

color-tools is a Ruby library to provide RGB and CMYK 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. With version 1.1, the ability to read and use GIMP colour palette definition files has been added.

Copyright 2005 by Austin Ziegler

Color::RGB and Color::CMYK were originally developed for the Ruby PDF project and PDF::Writer and represent wholly unique code.

Color::Palette was developed based on techniques described by Andy “Malarkey” Clarke, implemented in JavaScript by Steve G. Chipman at SlayerOffice and by Patrick Fitzgerald of BarelyFitz in PHP.

Licence

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Soft- ware”), 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 written permission.

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 MERCHANTABIL- ITY, 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 SOFTWARE.

1

www.stuffandnonsense.co.uk/archives/creating_colour_palettes.html

2

slayeroffice.com/tools/color_palette/

3

www.barelyfitz.com/projects/csscolor/