Graphics::ColorNames::HTML − HTML color names and equivalent RGB values
require
Graphics::ColorNames::HTML;
$NameTable =
Graphics::ColorNames::HTML−>NamesRgbTable();
$RgbBlack = $NameTable−>{black};
This module defines color names and their associated RGB values from the HTML 4.0 Specification.
Note
In versions prior to 1.1, "fuchsia" was misspelled
"fuscia". This mispelling came from un
unidentified HTML specification. It also
appears to be a common misspelling, so rather than change
it, the proper spelling was added.
Graphics::ColorNames, HTML 4.0 Specificiation <http://www.w3.org>
Graphics::ColorNames::SVG, which uses color names based on the SVG specification (which is more recent).
Robert Rothenberg <rrwo at cpan.org>
Copyright (c) 2001−2008 Robert Rothenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.