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


Graphics-ColorNames-WWW documentation Contained in the Graphics-ColorNames-WWW distribution.

Index


Code Index:

NAME

Top

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

SYNOPSIS

Top

  require Graphics::ColorNames::CSS;

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

DESCRIPTION

Top

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.

SEE ALSO

Top

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

AUTHOR

Top

Claus Färber <CFAERBER@cpan.org>

LICENSE

Top

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.


Graphics-ColorNames-WWW documentation Contained in the Graphics-ColorNames-WWW distribution.

package Graphics::ColorNames::CSS;

require 5.006;

use strict;
use warnings;

use Graphics::ColorNames::WWW();

our $VERSION = '1.13';

*NamesRgbTable = \&Graphics::ColorNames::WWW::NamesRgbTable;

1;