Graphics::ColorNames::CSS(3) User Contributed Perl Documentation Graphics::ColorNames::CSS(3)

Graphics::ColorNames::CSS - CSS color names and equivalent RGB values

require Graphics::ColorNames::CSS;
$NameTable = Graphics::ColorNames::CSS->NamesRgbTable();
$RgbBlack  = $NameTable->{black};

This module defines color names and their associated RGB values from the CSS Color Module Level 3 W3C Working Draft of 2008-07-21.

It is currently an alias for Graphic::ColorNames::WWW. This may change in the future. It is recommended to use the WWW module, which will always implement a superset of this module.

See the documentation of Graphics::ColorNames for information how to use this module.

Graphics::ColorNames::WWW, CSS Color Module Level 3 (http://w3.org/TR/CSS3-color)

Claus Färber <CFAERBER@cpan.org>

Copyright 2005-2009 Claus Färber.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2023-07-26 perl v5.38.0