File Coverage

blib/lib/Color/Library/Dictionary/Netscape.pm
Criterion Covered Total %
statement 10 11 90.9
branch n/a
condition n/a
subroutine 4 5 80.0
pod n/a
total 14 16 87.5


line stmt bran cond sub pod time code
1             package Color::Library::Dictionary::Netscape;
2              
3 2     2   1869 use strict;
  2         5  
  2         75  
4 2     2   13 use warnings;
  2         4  
  2         57  
5              
6 2     2   12 use base qw/Color::Library::Dictionary/;
  2         4  
  2         2592  
7              
8             __PACKAGE__->_register_dictionary;
9              
10             package Color::Library::Dictionary::Netscape;
11              
12             =pod
13              
14             =head1 NAME
15              
16             Color::Library::Dictionary::Netscape - (Netscape) Colors recognized by Netscape
17              
18             =head1 DESCRIPTION
19              
20             Netscape Color Names with their Color Values
21              
22             L
23              
24             =head1 COLORS
25              
26             aquamarine aquamarine #70db93
27              
28             baker'schocolate bakerschocolate #5c3317
29              
30             black black #000000
31              
32             blue blue #0000ff
33              
34             blueviolet blueviolet #9f5f9f
35              
36             brass brass #b5a642
37              
38             brightgold brightgold #d9d919
39              
40             bronze bronze #8c7853
41              
42             bronzeii bronzeii #a67d3d
43              
44             brown brown #a62a2a
45              
46             cadetblue cadetblue #5f9f9f
47              
48             coolcopper coolcopper #d98719
49              
50             copper copper #b87333
51              
52             coral coral #ff7f00
53              
54             cornflowerblue cornflowerblue #42426f
55              
56             cyan cyan #00ffff
57              
58             darkbrown darkbrown #5c4033
59              
60             darkgreen darkgreen #2f4f2f
61              
62             darkgreencopper darkgreencopper #4a766e
63              
64             darkolivegreen darkolivegreen #4f4f2f
65              
66             darkorchid darkorchid #9932cd
67              
68             darkpurple darkpurple #871f78
69              
70             darkslateblue darkslateblue #241882
71              
72             darkslategrey darkslategrey #2f4f4f
73              
74             darktan darktan #97694f
75              
76             darkturquoise darkturquoise #7093db
77              
78             darkwood darkwood #855e42
79              
80             dimgrey dimgrey #545454
81              
82             dustyrose dustyrose #856363
83              
84             feldspar feldspar #d19275
85              
86             firebrick firebrick #8e2323
87              
88             flesh flesh #f5ccb0
89              
90             forestgreen forestgreen #238e23
91              
92             gold gold #cd7f32
93              
94             goldenrod goldenrod #dbdb70
95              
96             green green #00ff00
97              
98             greencopper greencopper #856363
99              
100             greenyellow greenyellow #d19275
101              
102             grey grey #545454
103              
104             huntergreen huntergreen #8e2323
105              
106             indianred indianred #f5ccb0
107              
108             khaki khaki #238e23
109              
110             lightblue lightblue #cd7f32
111              
112             lightgrey lightgrey #dbdb70
113              
114             lightsteelblue lightsteelblue #545454
115              
116             lightwood lightwood #856363
117              
118             limegreen limegreen #d19275
119              
120             magenta magenta #ff00ff
121              
122             mandarianorange mandarianorange #8e2323
123              
124             maroon maroon #f5ccb0
125              
126             mediumaquamarine mediumaquamarine #238e23
127              
128             mediumblue mediumblue #cd7f32
129              
130             mediumforestgreen mediumforestgreen #dbdb70
131              
132             mediumgoldenrod mediumgoldenrod #eaeaae
133              
134             mediumorchid mediumorchid #9370db
135              
136             mediumseagreen mediumseagreen #426f42
137              
138             mediumslateblue mediumslateblue #7f00ff
139              
140             mediumspringgreen mediumspringgreen #7fff00
141              
142             mediumturquoise mediumturquoise #70dbdb
143              
144             mediumvioletred mediumvioletred #db7093
145              
146             mediumwood mediumwood #a68064
147              
148             midnightblue midnightblue #2f2f4f
149              
150             navyblue navyblue #23238e
151              
152             neonblue neonblue #4d4dff
153              
154             neonpink neonpink #ff6ec7
155              
156             newmidnightblue newmidnightblue #00009c
157              
158             newtan newtan #ebc79e
159              
160             oldgold oldgold #cfb53b
161              
162             orange orange #ff7f00
163              
164             orangered orangered #ff2400
165              
166             orchid orchid #db70db
167              
168             palegreen palegreen #8fbc8f
169              
170             pink pink #bc8f8f
171              
172             plum plum #eaadea
173              
174             quartz quartz #d9d9f3
175              
176             red red #ff0000
177              
178             richblue richblue #5959ab
179              
180             salmon salmon #6f4242
181              
182             scarlet scarlet #8c1717
183              
184             seagreen seagreen #238e68
185              
186             semi-sweetchocolate semisweetchocolate #6b4226
187              
188             sienna sienna #8e6b23
189              
190             silver silver #e6e8fa
191              
192             skyblue skyblue #3299cc
193              
194             slateblue slateblue #007fff
195              
196             spicypink spicypink #ff1cae
197              
198             springgreen springgreen #00ff7f
199              
200             steelblue steelblue #236b8e
201              
202             summersky summersky #38b0de
203              
204             tan tan #db9370
205              
206             thistle thistle #d8bfd8
207              
208             turquoise turquoise #adeaea
209              
210             verydarkbrown verydarkbrown #5c4033
211              
212             verylightgrey verylightgrey #cdcdcd
213              
214             violet violet #4f2f4f
215              
216             violetred violetred #cc3299
217              
218             wheat wheat #d8d8bf
219              
220             white white #ffffff
221              
222             yellow yellow #ffff00
223              
224             yellowgreen yellowgreen #99cc32
225              
226              
227             =cut
228              
229             sub _load_color_list() {
230             return [
231 1     1   200 ['netscape:aquamarine','aquamarine','aquamarine',[112,219,147],'70db93',7396243],
232             ['netscape:bakerschocolate','bakerschocolate','baker\'schocolate',[92,51,23],'5c3317',6042391],
233             ['netscape:black','black','black',[0,0,0],'000000',0],
234             ['netscape:blue','blue','blue',[0,0,255],'0000ff',255],
235             ['netscape:blueviolet','blueviolet','blueviolet',[159,95,159],'9f5f9f',10444703],
236             ['netscape:brass','brass','brass',[181,166,66],'b5a642',11904578],
237             ['netscape:brightgold','brightgold','brightgold',[217,217,25],'d9d919',14276889],
238             ['netscape:bronze','bronze','bronze',[140,120,83],'8c7853',9205843],
239             ['netscape:bronzeii','bronzeii','bronzeii',[166,125,61],'a67d3d',10911037],
240             ['netscape:brown','brown','brown',[166,42,42],'a62a2a',10889770],
241             ['netscape:cadetblue','cadetblue','cadetblue',[95,159,159],'5f9f9f',6266783],
242             ['netscape:coolcopper','coolcopper','coolcopper',[217,135,25],'d98719',14255897],
243             ['netscape:copper','copper','copper',[184,115,51],'b87333',12088115],
244             ['netscape:coral','coral','coral',[255,127,0],'ff7f00',16744192],
245             ['netscape:cornflowerblue','cornflowerblue','cornflowerblue',[66,66,111],'42426f',4342383],
246             ['netscape:cyan','cyan','cyan',[0,255,255],'00ffff',65535],
247             ['netscape:darkbrown','darkbrown','darkbrown',[92,64,51],'5c4033',6045747],
248             ['netscape:darkgreen','darkgreen','darkgreen',[47,79,47],'2f4f2f',3100463],
249             ['netscape:darkgreencopper','darkgreencopper','darkgreencopper',[74,118,110],'4a766e',4879982],
250             ['netscape:darkolivegreen','darkolivegreen','darkolivegreen',[79,79,47],'4f4f2f',5197615],
251             ['netscape:darkorchid','darkorchid','darkorchid',[153,50,205],'9932cd',10040013],
252             ['netscape:darkpurple','darkpurple','darkpurple',[135,31,120],'871f78',8855416],
253             ['netscape:darkslateblue','darkslateblue','darkslateblue',[36,24,130],'241882',2365570],
254             ['netscape:darkslategrey','darkslategrey','darkslategrey',[47,79,79],'2f4f4f',3100495],
255             ['netscape:darktan','darktan','darktan',[151,105,79],'97694f',9922895],
256             ['netscape:darkturquoise','darkturquoise','darkturquoise',[112,147,219],'7093db',7377883],
257             ['netscape:darkwood','darkwood','darkwood',[133,94,66],'855e42',8740418],
258             ['netscape:dimgrey','dimgrey','dimgrey',[84,84,84],'545454',5526612],
259             ['netscape:dustyrose','dustyrose','dustyrose',[133,99,99],'856363',8741731],
260             ['netscape:feldspar','feldspar','feldspar',[209,146,117],'d19275',13734517],
261             ['netscape:firebrick','firebrick','firebrick',[142,35,35],'8e2323',9315107],
262             ['netscape:flesh','flesh','flesh',[245,204,176],'f5ccb0',16108720],
263             ['netscape:forestgreen','forestgreen','forestgreen',[35,142,35],'238e23',2330147],
264             ['netscape:gold','gold','gold',[205,127,50],'cd7f32',13467442],
265             ['netscape:goldenrod','goldenrod','goldenrod',[219,219,112],'dbdb70',14408560],
266             ['netscape:green','green','green',[0,255,0],'00ff00',65280],
267             ['netscape:greencopper','greencopper','greencopper',[133,99,99],'856363',8741731],
268             ['netscape:greenyellow','greenyellow','greenyellow',[209,146,117],'d19275',13734517],
269             ['netscape:grey','grey','grey',[84,84,84],'545454',5526612],
270             ['netscape:huntergreen','huntergreen','huntergreen',[142,35,35],'8e2323',9315107],
271             ['netscape:indianred','indianred','indianred',[245,204,176],'f5ccb0',16108720],
272             ['netscape:khaki','khaki','khaki',[35,142,35],'238e23',2330147],
273             ['netscape:lightblue','lightblue','lightblue',[205,127,50],'cd7f32',13467442],
274             ['netscape:lightgrey','lightgrey','lightgrey',[219,219,112],'dbdb70',14408560],
275             ['netscape:lightsteelblue','lightsteelblue','lightsteelblue',[84,84,84],'545454',5526612],
276             ['netscape:lightwood','lightwood','lightwood',[133,99,99],'856363',8741731],
277             ['netscape:limegreen','limegreen','limegreen',[209,146,117],'d19275',13734517],
278             ['netscape:magenta','magenta','magenta',[255,0,255],'ff00ff',16711935],
279             ['netscape:mandarianorange','mandarianorange','mandarianorange',[142,35,35],'8e2323',9315107],
280             ['netscape:maroon','maroon','maroon',[245,204,176],'f5ccb0',16108720],
281             ['netscape:mediumaquamarine','mediumaquamarine','mediumaquamarine',[35,142,35],'238e23',2330147],
282             ['netscape:mediumblue','mediumblue','mediumblue',[205,127,50],'cd7f32',13467442],
283             ['netscape:mediumforestgreen','mediumforestgreen','mediumforestgreen',[219,219,112],'dbdb70',14408560],
284             ['netscape:mediumgoldenrod','mediumgoldenrod','mediumgoldenrod',[234,234,174],'eaeaae',15395502],
285             ['netscape:mediumorchid','mediumorchid','mediumorchid',[147,112,219],'9370db',9662683],
286             ['netscape:mediumseagreen','mediumseagreen','mediumseagreen',[66,111,66],'426f42',4353858],
287             ['netscape:mediumslateblue','mediumslateblue','mediumslateblue',[127,0,255],'7f00ff',8323327],
288             ['netscape:mediumspringgreen','mediumspringgreen','mediumspringgreen',[127,255,0],'7fff00',8388352],
289             ['netscape:mediumturquoise','mediumturquoise','mediumturquoise',[112,219,219],'70dbdb',7396315],
290             ['netscape:mediumvioletred','mediumvioletred','mediumvioletred',[219,112,147],'db7093',14381203],
291             ['netscape:mediumwood','mediumwood','mediumwood',[166,128,100],'a68064',10911844],
292             ['netscape:midnightblue','midnightblue','midnightblue',[47,47,79],'2f2f4f',3092303],
293             ['netscape:navyblue','navyblue','navyblue',[35,35,142],'23238e',2302862],
294             ['netscape:neonblue','neonblue','neonblue',[77,77,255],'4d4dff',5066239],
295             ['netscape:neonpink','neonpink','neonpink',[255,110,199],'ff6ec7',16740039],
296             ['netscape:newmidnightblue','newmidnightblue','newmidnightblue',[0,0,156],'00009c',156],
297             ['netscape:newtan','newtan','newtan',[235,199,158],'ebc79e',15452062],
298             ['netscape:oldgold','oldgold','oldgold',[207,181,59],'cfb53b',13612347],
299             ['netscape:orange','orange','orange',[255,127,0],'ff7f00',16744192],
300             ['netscape:orangered','orangered','orangered',[255,36,0],'ff2400',16720896],
301             ['netscape:orchid','orchid','orchid',[219,112,219],'db70db',14381275],
302             ['netscape:palegreen','palegreen','palegreen',[143,188,143],'8fbc8f',9419919],
303             ['netscape:pink','pink','pink',[188,143,143],'bc8f8f',12357519],
304             ['netscape:plum','plum','plum',[234,173,234],'eaadea',15379946],
305             ['netscape:quartz','quartz','quartz',[217,217,243],'d9d9f3',14277107],
306             ['netscape:red','red','red',[255,0,0],'ff0000',16711680],
307             ['netscape:richblue','richblue','richblue',[89,89,171],'5959ab',5855659],
308             ['netscape:salmon','salmon','salmon',[111,66,66],'6f4242',7291458],
309             ['netscape:scarlet','scarlet','scarlet',[140,23,23],'8c1717',9180951],
310             ['netscape:seagreen','seagreen','seagreen',[35,142,104],'238e68',2330216],
311             ['netscape:semisweetchocolate','semisweetchocolate','semi-sweetchocolate',[107,66,38],'6b4226',7029286],
312             ['netscape:sienna','sienna','sienna',[142,107,35],'8e6b23',9333539],
313             ['netscape:silver','silver','silver',[230,232,250],'e6e8fa',15132922],
314             ['netscape:skyblue','skyblue','skyblue',[50,153,204],'3299cc',3316172],
315             ['netscape:slateblue','slateblue','slateblue',[0,127,255],'007fff',32767],
316             ['netscape:spicypink','spicypink','spicypink',[255,28,174],'ff1cae',16719022],
317             ['netscape:springgreen','springgreen','springgreen',[0,255,127],'00ff7f',65407],
318             ['netscape:steelblue','steelblue','steelblue',[35,107,142],'236b8e',2321294],
319             ['netscape:summersky','summersky','summersky',[56,176,222],'38b0de',3715294],
320             ['netscape:tan','tan','tan',[219,147,112],'db9370',14390128],
321             ['netscape:thistle','thistle','thistle',[216,191,216],'d8bfd8',14204888],
322             ['netscape:turquoise','turquoise','turquoise',[173,234,234],'adeaea',11397866],
323             ['netscape:verydarkbrown','verydarkbrown','verydarkbrown',[92,64,51],'5c4033',6045747],
324             ['netscape:verylightgrey','verylightgrey','verylightgrey',[205,205,205],'cdcdcd',13487565],
325             ['netscape:violet','violet','violet',[79,47,79],'4f2f4f',5189455],
326             ['netscape:violetred','violetred','violetred',[204,50,153],'cc3299',13382297],
327             ['netscape:wheat','wheat','wheat',[216,216,191],'d8d8bf',14211263],
328             ['netscape:white','white','white',[255,255,255],'ffffff',16777215],
329             ['netscape:yellow','yellow','yellow',[255,255,0],'ffff00',16776960],
330             ['netscape:yellowgreen','yellowgreen','yellowgreen',[153,204,50],'99cc32',10079282]
331             ];
332             }
333              
334             sub _description {
335             return {
336 0     0     'subtitle' => 'Colors recognized by Netscape',
337             'title' => 'Netscape',
338             'description' => ' Netscape Color Names with their Color Values
339              
340             [http://www.timestream.com/mmedia/graphics/colors/ns3names.txt]
341             '
342             }
343              
344             }
345              
346             1;