| 1 | package Graphics::ColorNames::CSS; | ||
| 2 | |||
| 3 | 3 | require 5.006; | |
| 4 | |||
| 5 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 3 | ▶ | use Graphics::ColorNames::WWW(); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 3 | our $VERSION = '1.13'; | |
| 11 | |||
| 12 | 3 | *NamesRgbTable = \&Graphics::ColorNames::WWW::NamesRgbTable; | |
| 13 | |||
| 14 | 3 | 1; | |
| 15 | |||
| 16 | =head1 NAME | ||
| 17 | |||
| 18 | Graphics::ColorNames::CSS - CSS color names and equivalent RGB values | ||
| 19 | |||
| 20 | =head1 SYNOPSIS | ||
| 21 | |||
| 22 | require Graphics::ColorNames::CSS; | ||
| 23 | |||
| 24 | $NameTable = Graphics::ColorNames::CSS->NamesRgbTable(); | ||
| 25 | $RgbBlack = $NameTable->{black}; | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | This module defines color names and their associated RGB values from the CSS | ||
| 30 | Color Module Level 3 W3C Working Draft of 2008-07-21. | ||
| 31 | |||
| 32 | It is currently an alias for L<Graphic::ColorNames::WWW>. This may change in | ||
| 33 | the future. It is recommended to use the WWW module, which will always | ||
| 34 | implement a superset of this module. | ||
| 35 | |||
| 36 | See the documentation of L<Graphics::ColorNames> for information how to use | ||
| 37 | this module. | ||
| 38 | |||
| 39 | =head1 SEE ALSO | ||
| 40 | |||
| 41 | L<Graphics::ColorNames::WWW>, | ||
| 42 | CSS Color Module Level 3 (L<http://w3.org/TR/CSS3-color>) | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Claus FE<auml>rber <CFAERBER@cpan.org> | ||
| 47 | |||
| 48 | =head1 LICENSE | ||
| 49 | |||
| 50 | Copyright 2005-2009 Claus FE<auml>rber. | ||
| 51 | |||
| 52 | This program is free software; you can redistribute it and/or | ||
| 53 | modify it under the same terms as Perl itself. | ||
| 54 | |||
| 55 | =cut | ||