File Coverage

blib/lib/Graphics/ColorNames/Netscape.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 0 1 0.0
total 17 18 94.4


line stmt bran cond sub pod time code
1             package Graphics::ColorNames::Netscape;
2              
3 1     1   224191 use v5.6;
  1         7  
4              
5             # ABSTRACT: Netscape 1.1 Color Names
6              
7              
8 1     1   7 use strict;
  1         2  
  1         27  
9 1     1   5 use warnings;
  1         2  
  1         59  
10              
11             # RECOMMEND PREREQ: Graphics::ColorNames
12              
13             our $VERSION = 'v3.1.2';
14              
15             sub NamesRgbTable() {
16 1     1   7 use integer;
  1         2  
  1         12  
17             return {
18 1     1 0 167 "white" => 0xffffff,
19             "red" => 0xff0000,
20             "green" => 0x00ff00,
21             "blue" => 0x0000ff,
22             "magenta" => 0xff00ff,
23             "cyan" => 0x00ffff,
24             "yellow" => 0xffff00,
25             "black" => 0x000000,
26             "aquamarine" => 0x70db93,
27             "bakerschocolate" => 0x5c3317,
28             "blueviolet" => 0x9f5f9f,
29             "brass" => 0xb5a642,
30             "brightgold" => 0xd9d919,
31             "brown" => 0xa62a2a,
32             "bronze" => 0x8c7853,
33             "bronzeii" => 0xa67d3d,
34             "cadetblue" => 0x5f9f9f,
35             "coolcopper" => 0xd98719,
36             "copper" => 0xb87333,
37             "coral" => 0xff7f00,
38             "cornflowerblue" => 0x42426f,
39             "darkbrown" => 0x5c4033,
40             "darkgreen" => 0x2f4f2f,
41             "darkgreencopper" => 0x4a766e,
42             "darkolivegreen" => 0x4f4f2f,
43             "darkorchid" => 0x9932cd,
44             "darkpurple" => 0x871f78,
45             "darkslateblue" => 0x241882,
46             "darkslategrey" => 0x2f4f4f,
47             "darktan" => 0x97694f,
48             "darkturquoise" => 0x7093db,
49             "darkwood" => 0x855e42,
50             "dimgrey" => 0x545454,
51             "dustyrose" => 0x856363,
52             "feldspar" => 0xd19275,
53             "firebrick" => 0x8e2323,
54             "flesh" => 0xf5ccb0,
55             "forestgreen" => 0x238e23,
56             "gold" => 0xcd7f32, #
57             "goldenrod" => 0xdbdb70,
58             "grey" => 0x545454,
59             "greencopper" => 0x856363,
60             "greenyellow" => 0xd19275,
61             "huntergreen" => 0x8e2323,
62             "indianred" => 0xf5ccb0,
63             "khaki" => 0x238e23,
64             "lightblue" => 0xcdd9d9, #
65             "lightgrey" => 0xdbdb70,
66             "lightsteelblue" => 0x545454,
67             "lightwood" => 0x856363,
68             "limegreen" => 0xd19275,
69             "mandarianorange" => 0x8e2323,
70             "maroon" => 0xf5ccb0,
71             "mediumaquamarine" => 0x238e23,
72             "mediumblue" => 0x3232cd, #
73             "mediumforestgreen" => 0xdbdb70,
74             "mediumgoldenrod" => 0xeaeaae,
75             "mediumorchid" => 0x9370db,
76             "mediumseagreen" => 0x426f42,
77             "mediumslateblue" => 0x7f00ff,
78             "mediumspringgreen" => 0x7fff00,
79             "mediumturquoise" => 0x70dbdb,
80             "mediumvioletred" => 0xdb7093,
81             "mediumwood" => 0xa68064,
82             "midnightblue" => 0x2f2f4f,
83             "navyblue" => 0x23238e,
84             "neonblue" => 0x4d4dff,
85             "neonpink" => 0xff6ec7,
86             "newmidnightblue" => 0x00009c,
87             "newtan" => 0xebc79e,
88             "oldgold" => 0xcfb53b,
89             "orange" => 0xff7f00,
90             "orangered" => 0xff2400,
91             "orchid" => 0xdb70db,
92             "palegreen" => 0x8fbc8f,
93             "pink" => 0xbc8f8f,
94             "plum" => 0xeaadea,
95             "quartz" => 0xd9d9f3,
96             "richblue" => 0x5959ab,
97             "salmon" => 0x6f4242,
98             "scarlet" => 0x8c1717,
99             "seagreen" => 0x238e68,
100             "semisweetchocolate" => 0x6b4226,
101             "sienna" => 0x8e6b23,
102             "silver" => 0xe6e8fa,
103             "skyblue" => 0x3299cc,
104             "slateblue" => 0x007fff,
105             "spicypink" => 0xff1cae,
106             "springgreen" => 0x00ff7f,
107             "steelblue" => 0x236b8e,
108             "summersky" => 0x38b0de,
109             "tan" => 0xdb9370,
110             "thistle" => 0xd8bfd8,
111             "turquoise" => 0xadeaea,
112             "verydarkbrown" => 0x5c4033,
113             "verylightgrey" => 0xcdcdcd,
114             "violet" => 0x4f2f4f,
115             "violetred" => 0xcc3299,
116             "wheat" => 0xd8d8bf,
117             "yellowgreen" => 0x99cc32,
118             };
119             }
120              
121             1;
122              
123             __END__