File Coverage

blib/lib/Graphics/ColorNames/CSS.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Graphics::ColorNames::CSS;
2              
3             require 5.006;
4              
5 2     2   1688 use strict;
  2         11  
  2         58  
6 2     2   10 use warnings;
  2         4  
  2         50  
7              
8 2     2   471 use Graphics::ColorNames::WWW();
  2         3  
  2         134  
9              
10             our $VERSION = '1.13';
11              
12             *NamesRgbTable = \&Graphics::ColorNames::WWW::NamesRgbTable;
13              
14             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. 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 for information how to use
37             this module.
38              
39             =head1 SEE ALSO
40              
41             L,
42             CSS Color Module Level 3 (L)
43              
44             =head1 AUTHOR
45              
46             Claus FErber
47              
48             =head1 LICENSE
49              
50             Copyright 2005-2009 Claus FErber.
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