1 
2 module dlangui.graphics.xpm.xpmcolors;
3 import std.algorithm : cmp;
4 
5 ///Represents for predefined xpm color
6 struct XPMPredefinedColor
7 {
8     ubyte red; ///Red value
9     ubyte green; ///Green value
10     ubyte blue; ///Blue value
11     string name; ///Color name
12 
13     ///Compare operator to ease using this struct in search algorithms
14     int opCmp(ref const XPMPredefinedColor other) const {
15         return cmp(name, other.name);
16     }
17     ///ditto
18     int opCmp(in char[] str) const {
19         return cmp(name, str);
20     }
21     ///ditto
22     int opBinaryRight(string op)(in char[] str) const
23         if (op == "<") {
24         return cmp(str, name);
25     }
26 }
27 
28 ///Predefined xpm colors in sorted order
29 immutable XPMPredefinedColor[] predefinedColors = [
30     { 240, 248, 255, "aliceblue" },
31     { 250, 235, 215, "antiquewhite" },
32     { 255, 239, 219, "antiquewhite1" },
33     { 238, 223, 204, "antiquewhite2" },
34     { 205, 192, 176, "antiquewhite3" },
35     { 139, 131, 120, "antiquewhite4" },
36     { 127, 255, 212, "aquamarine" },
37     { 127, 255, 212, "aquamarine1" },
38     { 118, 238, 198, "aquamarine2" },
39     { 102, 205, 170, "aquamarine3" },
40     { 69, 139, 116, "aquamarine4" },
41     { 240, 255, 255, "azure" },
42     { 240, 255, 255, "azure1" },
43     { 224, 238, 238, "azure2" },
44     { 193, 205, 205, "azure3" },
45     { 131, 139, 139, "azure4" },
46     { 245, 245, 220, "beige" },
47     { 255, 228, 196, "bisque" },
48     { 255, 228, 196, "bisque1" },
49     { 238, 213, 183, "bisque2" },
50     { 205, 183, 158, "bisque3" },
51     { 139, 125, 107, "bisque4" },
52     { 0, 0, 0, "black" },
53     { 255, 235, 205, "blanchedalmond" },
54     { 0, 0, 255, "blue" },
55     { 0, 0, 255, "blue1" },
56     { 0, 0, 238, "blue2" },
57     { 0, 0, 205, "blue3" },
58     { 0, 0, 139, "blue4" },
59     { 138, 43, 226, "blueviolet" },
60     { 165, 42, 42, "brown" },
61     { 255, 64, 64, "brown1" },
62     { 238, 59, 59, "brown2" },
63     { 205, 51, 51, "brown3" },
64     { 139, 35, 35, "brown4" },
65     { 222, 184, 135, "burlywood" },
66     { 255, 211, 155, "burlywood1" },
67     { 238, 197, 145, "burlywood2" },
68     { 205, 170, 125, "burlywood3" },
69     { 139, 115, 85, "burlywood4" },
70     { 95, 158, 160, "cadetblue" },
71     { 152, 245, 255, "cadetblue1" },
72     { 142, 229, 238, "cadetblue2" },
73     { 122, 197, 205, "cadetblue3" },
74     { 83, 134, 139, "cadetblue4" },
75     { 127, 255, 0, "chartreuse" },
76     { 127, 255, 0, "chartreuse1" },
77     { 118, 238, 0, "chartreuse2" },
78     { 102, 205, 0, "chartreuse3" },
79     { 69, 139, 0, "chartreuse4" },
80     { 210, 105, 30, "chocolate" },
81     { 255, 127, 36, "chocolate1" },
82     { 238, 118, 33, "chocolate2" },
83     { 205, 102, 29, "chocolate3" },
84     { 139, 69, 19, "chocolate4" },
85     { 255, 127, 80, "coral" },
86     { 255, 114, 86, "coral1" },
87     { 238, 106, 80, "coral2" },
88     { 205, 91, 69, "coral3" },
89     { 139, 62, 47, "coral4" },
90     { 100, 149, 237, "cornflowerblue" },
91     { 255, 248, 220, "cornsilk" },
92     { 255, 248, 220, "cornsilk1" },
93     { 238, 232, 205, "cornsilk2" },
94     { 205, 200, 177, "cornsilk3" },
95     { 139, 136, 120, "cornsilk4" },
96     { 0, 255, 255, "cyan" },
97     { 0, 255, 255, "cyan1" },
98     { 0, 238, 238, "cyan2" },
99     { 0, 205, 205, "cyan3" },
100     { 0, 139, 139, "cyan4" },
101     { 0, 0, 139, "darkblue" },
102     { 0, 139, 139, "darkcyan" },
103     { 184, 134, 11, "darkgoldenrod" },
104     { 255, 185, 15, "darkgoldenrod1" },
105     { 238, 173, 14, "darkgoldenrod2" },
106     { 205, 149, 12, "darkgoldenrod3" },
107     { 139, 101, 8, "darkgoldenrod4" },
108     { 169, 169, 169, "darkgray" },
109     { 0, 100, 0, "darkgreen" },
110     { 169, 169, 169, "darkgrey" },
111     { 189, 183, 107, "darkkhaki" },
112     { 139, 0, 139, "darkmagenta" },
113     { 85, 107, 47, "darkolivegreen" },
114     { 202, 255, 112, "darkolivegreen1" },
115     { 188, 238, 104, "darkolivegreen2" },
116     { 162, 205, 90, "darkolivegreen3" },
117     { 110, 139, 61, "darkolivegreen4" },
118     { 255, 140, 0, "darkorange" },
119     { 255, 127, 0, "darkorange1" },
120     { 238, 118, 0, "darkorange2" },
121     { 205, 102, 0, "darkorange3" },
122     { 139, 69, 0, "darkorange4" },
123     { 153, 50, 204, "darkorchid" },
124     { 191, 62, 255, "darkorchid1" },
125     { 178, 58, 238, "darkorchid2" },
126     { 154, 50, 205, "darkorchid3" },
127     { 104, 34, 139, "darkorchid4" },
128     { 139, 0, 0, "darkred" },
129     { 233, 150, 122, "darksalmon" },
130     { 143, 188, 143, "darkseagreen" },
131     { 193, 255, 193, "darkseagreen1" },
132     { 180, 238, 180, "darkseagreen2" },
133     { 155, 205, 155, "darkseagreen3" },
134     { 105, 139, 105, "darkseagreen4" },
135     { 72, 61, 139, "darkslateblue" },
136     { 47, 79, 79, "darkslategray" },
137     { 151, 255, 255, "darkslategray1" },
138     { 141, 238, 238, "darkslategray2" },
139     { 121, 205, 205, "darkslategray3" },
140     { 82, 139, 139, "darkslategray4" },
141     { 47, 79, 79, "darkslategrey" },
142     { 0, 206, 209, "darkturquoise" },
143     { 148, 0, 211, "darkviolet" },
144     { 255, 20, 147, "deeppink" },
145     { 255, 20, 147, "deeppink1" },
146     { 238, 18, 137, "deeppink2" },
147     { 205, 16, 118, "deeppink3" },
148     { 139, 10, 80, "deeppink4" },
149     { 0, 191, 255, "deepskyblue" },
150     { 0, 191, 255, "deepskyblue1" },
151     { 0, 178, 238, "deepskyblue2" },
152     { 0, 154, 205, "deepskyblue3" },
153     { 0, 104, 139, "deepskyblue4" },
154     { 105, 105, 105, "dimgray" },
155     { 105, 105, 105, "dimgrey" },
156     { 30, 144, 255, "dodgerblue" },
157     { 30, 144, 255, "dodgerblue1" },
158     { 28, 134, 238, "dodgerblue2" },
159     { 24, 116, 205, "dodgerblue3" },
160     { 16, 78, 139, "dodgerblue4" },
161     { 178, 34, 34, "firebrick" },
162     { 255, 48, 48, "firebrick1" },
163     { 238, 44, 44, "firebrick2" },
164     { 205, 38, 38, "firebrick3" },
165     { 139, 26, 26, "firebrick4" },
166     { 255, 250, 240, "floralwhite" },
167     { 34, 139, 34, "forestgreen" },
168     { 220, 220, 220, "gainsboro" },
169     { 248, 248, 255, "ghostwhite" },
170     { 255, 215, 0, "gold" },
171     { 255, 215, 0, "gold1" },
172     { 238, 201, 0, "gold2" },
173     { 205, 173, 0, "gold3" },
174     { 139, 117, 0, "gold4" },
175     { 218, 165, 32, "goldenrod" },
176     { 255, 193, 37, "goldenrod1" },
177     { 238, 180, 34, "goldenrod2" },
178     { 205, 155, 29, "goldenrod3" },
179     { 139, 105, 20, "goldenrod4" },
180     { 190, 190, 190, "gray" },
181     { 0, 0, 0, "gray0" },
182     { 3, 3, 3, "gray1" },
183     { 26, 26, 26, "gray10" },
184     { 255, 255, 255, "gray100" },
185     { 28, 28, 28, "gray11" },
186     { 31, 31, 31, "gray12" },
187     { 33, 33, 33, "gray13" },
188     { 36, 36, 36, "gray14" },
189     { 38, 38, 38, "gray15" },
190     { 41, 41, 41, "gray16" },
191     { 43, 43, 43, "gray17" },
192     { 46, 46, 46, "gray18" },
193     { 48, 48, 48, "gray19" },
194     { 5, 5, 5, "gray2" },
195     { 51, 51, 51, "gray20" },
196     { 54, 54, 54, "gray21" },
197     { 56, 56, 56, "gray22" },
198     { 59, 59, 59, "gray23" },
199     { 61, 61, 61, "gray24" },
200     { 64, 64, 64, "gray25" },
201     { 66, 66, 66, "gray26" },
202     { 69, 69, 69, "gray27" },
203     { 71, 71, 71, "gray28" },
204     { 74, 74, 74, "gray29" },
205     { 8, 8, 8, "gray3" },
206     { 77, 77, 77, "gray30" },
207     { 79, 79, 79, "gray31" },
208     { 82, 82, 82, "gray32" },
209     { 84, 84, 84, "gray33" },
210     { 87, 87, 87, "gray34" },
211     { 89, 89, 89, "gray35" },
212     { 92, 92, 92, "gray36" },
213     { 94, 94, 94, "gray37" },
214     { 97, 97, 97, "gray38" },
215     { 99, 99, 99, "gray39" },
216     { 10, 10, 10, "gray4" },
217     { 102, 102, 102, "gray40" },
218     { 105, 105, 105, "gray41" },
219     { 107, 107, 107, "gray42" },
220     { 110, 110, 110, "gray43" },
221     { 112, 112, 112, "gray44" },
222     { 115, 115, 115, "gray45" },
223     { 117, 117, 117, "gray46" },
224     { 120, 120, 120, "gray47" },
225     { 122, 122, 122, "gray48" },
226     { 125, 125, 125, "gray49" },
227     { 13, 13, 13, "gray5" },
228     { 127, 127, 127, "gray50" },
229     { 130, 130, 130, "gray51" },
230     { 133, 133, 133, "gray52" },
231     { 135, 135, 135, "gray53" },
232     { 138, 138, 138, "gray54" },
233     { 140, 140, 140, "gray55" },
234     { 143, 143, 143, "gray56" },
235     { 145, 145, 145, "gray57" },
236     { 148, 148, 148, "gray58" },
237     { 150, 150, 150, "gray59" },
238     { 15, 15, 15, "gray6" },
239     { 153, 153, 153, "gray60" },
240     { 156, 156, 156, "gray61" },
241     { 158, 158, 158, "gray62" },
242     { 161, 161, 161, "gray63" },
243     { 163, 163, 163, "gray64" },
244     { 166, 166, 166, "gray65" },
245     { 168, 168, 168, "gray66" },
246     { 171, 171, 171, "gray67" },
247     { 173, 173, 173, "gray68" },
248     { 176, 176, 176, "gray69" },
249     { 18, 18, 18, "gray7" },
250     { 179, 179, 179, "gray70" },
251     { 181, 181, 181, "gray71" },
252     { 184, 184, 184, "gray72" },
253     { 186, 186, 186, "gray73" },
254     { 189, 189, 189, "gray74" },
255     { 191, 191, 191, "gray75" },
256     { 194, 194, 194, "gray76" },
257     { 196, 196, 196, "gray77" },
258     { 199, 199, 199, "gray78" },
259     { 201, 201, 201, "gray79" },
260     { 20, 20, 20, "gray8" },
261     { 204, 204, 204, "gray80" },
262     { 207, 207, 207, "gray81" },
263     { 209, 209, 209, "gray82" },
264     { 212, 212, 212, "gray83" },
265     { 214, 214, 214, "gray84" },
266     { 217, 217, 217, "gray85" },
267     { 219, 219, 219, "gray86" },
268     { 222, 222, 222, "gray87" },
269     { 224, 224, 224, "gray88" },
270     { 227, 227, 227, "gray89" },
271     { 23, 23, 23, "gray9" },
272     { 229, 229, 229, "gray90" },
273     { 232, 232, 232, "gray91" },
274     { 235, 235, 235, "gray92" },
275     { 237, 237, 237, "gray93" },
276     { 240, 240, 240, "gray94" },
277     { 242, 242, 242, "gray95" },
278     { 245, 245, 245, "gray96" },
279     { 247, 247, 247, "gray97" },
280     { 250, 250, 250, "gray98" },
281     { 252, 252, 252, "gray99" },
282     { 0, 255, 0, "green" },
283     { 0, 255, 0, "green1" },
284     { 0, 238, 0, "green2" },
285     { 0, 205, 0, "green3" },
286     { 0, 139, 0, "green4" },
287     { 173, 255, 47, "greenyellow" },
288     { 190, 190, 190, "grey" },
289     { 0, 0, 0, "grey0" },
290     { 3, 3, 3, "grey1" },
291     { 26, 26, 26, "grey10" },
292     { 255, 255, 255, "grey100" },
293     { 28, 28, 28, "grey11" },
294     { 31, 31, 31, "grey12" },
295     { 33, 33, 33, "grey13" },
296     { 36, 36, 36, "grey14" },
297     { 38, 38, 38, "grey15" },
298     { 41, 41, 41, "grey16" },
299     { 43, 43, 43, "grey17" },
300     { 46, 46, 46, "grey18" },
301     { 48, 48, 48, "grey19" },
302     { 5, 5, 5, "grey2" },
303     { 51, 51, 51, "grey20" },
304     { 54, 54, 54, "grey21" },
305     { 56, 56, 56, "grey22" },
306     { 59, 59, 59, "grey23" },
307     { 61, 61, 61, "grey24" },
308     { 64, 64, 64, "grey25" },
309     { 66, 66, 66, "grey26" },
310     { 69, 69, 69, "grey27" },
311     { 71, 71, 71, "grey28" },
312     { 74, 74, 74, "grey29" },
313     { 8, 8, 8, "grey3" },
314     { 77, 77, 77, "grey30" },
315     { 79, 79, 79, "grey31" },
316     { 82, 82, 82, "grey32" },
317     { 84, 84, 84, "grey33" },
318     { 87, 87, 87, "grey34" },
319     { 89, 89, 89, "grey35" },
320     { 92, 92, 92, "grey36" },
321     { 94, 94, 94, "grey37" },
322     { 97, 97, 97, "grey38" },
323     { 99, 99, 99, "grey39" },
324     { 10, 10, 10, "grey4" },
325     { 102, 102, 102, "grey40" },
326     { 105, 105, 105, "grey41" },
327     { 107, 107, 107, "grey42" },
328     { 110, 110, 110, "grey43" },
329     { 112, 112, 112, "grey44" },
330     { 115, 115, 115, "grey45" },
331     { 117, 117, 117, "grey46" },
332     { 120, 120, 120, "grey47" },
333     { 122, 122, 122, "grey48" },
334     { 125, 125, 125, "grey49" },
335     { 13, 13, 13, "grey5" },
336     { 127, 127, 127, "grey50" },
337     { 130, 130, 130, "grey51" },
338     { 133, 133, 133, "grey52" },
339     { 135, 135, 135, "grey53" },
340     { 138, 138, 138, "grey54" },
341     { 140, 140, 140, "grey55" },
342     { 143, 143, 143, "grey56" },
343     { 145, 145, 145, "grey57" },
344     { 148, 148, 148, "grey58" },
345     { 150, 150, 150, "grey59" },
346     { 15, 15, 15, "grey6" },
347     { 153, 153, 153, "grey60" },
348     { 156, 156, 156, "grey61" },
349     { 158, 158, 158, "grey62" },
350     { 161, 161, 161, "grey63" },
351     { 163, 163, 163, "grey64" },
352     { 166, 166, 166, "grey65" },
353     { 168, 168, 168, "grey66" },
354     { 171, 171, 171, "grey67" },
355     { 173, 173, 173, "grey68" },
356     { 176, 176, 176, "grey69" },
357     { 18, 18, 18, "grey7" },
358     { 179, 179, 179, "grey70" },
359     { 181, 181, 181, "grey71" },
360     { 184, 184, 184, "grey72" },
361     { 186, 186, 186, "grey73" },
362     { 189, 189, 189, "grey74" },
363     { 191, 191, 191, "grey75" },
364     { 194, 194, 194, "grey76" },
365     { 196, 196, 196, "grey77" },
366     { 199, 199, 199, "grey78" },
367     { 201, 201, 201, "grey79" },
368     { 20, 20, 20, "grey8" },
369     { 204, 204, 204, "grey80" },
370     { 207, 207, 207, "grey81" },
371     { 209, 209, 209, "grey82" },
372     { 212, 212, 212, "grey83" },
373     { 214, 214, 214, "grey84" },
374     { 217, 217, 217, "grey85" },
375     { 219, 219, 219, "grey86" },
376     { 222, 222, 222, "grey87" },
377     { 224, 224, 224, "grey88" },
378     { 227, 227, 227, "grey89" },
379     { 23, 23, 23, "grey9" },
380     { 229, 229, 229, "grey90" },
381     { 232, 232, 232, "grey91" },
382     { 235, 235, 235, "grey92" },
383     { 237, 237, 237, "grey93" },
384     { 240, 240, 240, "grey94" },
385     { 242, 242, 242, "grey95" },
386     { 245, 245, 245, "grey96" },
387     { 247, 247, 247, "grey97" },
388     { 250, 250, 250, "grey98" },
389     { 252, 252, 252, "grey99" },
390     { 240, 255, 240, "honeydew" },
391     { 240, 255, 240, "honeydew1" },
392     { 224, 238, 224, "honeydew2" },
393     { 193, 205, 193, "honeydew3" },
394     { 131, 139, 131, "honeydew4" },
395     { 255, 105, 180, "hotpink" },
396     { 255, 110, 180, "hotpink1" },
397     { 238, 106, 167, "hotpink2" },
398     { 205, 96, 144, "hotpink3" },
399     { 139, 58, 98, "hotpink4" },
400     { 205, 92, 92, "indianred" },
401     { 255, 106, 106, "indianred1" },
402     { 238, 99, 99, "indianred2" },
403     { 205, 85, 85, "indianred3" },
404     { 139, 58, 58, "indianred4" },
405     { 255, 255, 240, "ivory" },
406     { 255, 255, 240, "ivory1" },
407     { 238, 238, 224, "ivory2" },
408     { 205, 205, 193, "ivory3" },
409     { 139, 139, 131, "ivory4" },
410     { 240, 230, 140, "khaki" },
411     { 255, 246, 143, "khaki1" },
412     { 238, 230, 133, "khaki2" },
413     { 205, 198, 115, "khaki3" },
414     { 139, 134, 78, "khaki4" },
415     { 230, 230, 250, "lavender" },
416     { 255, 240, 245, "lavenderblush" },
417     { 255, 240, 245, "lavenderblush1" },
418     { 238, 224, 229, "lavenderblush2" },
419     { 205, 193, 197, "lavenderblush3" },
420     { 139, 131, 134, "lavenderblush4" },
421     { 124, 252, 0, "lawngreen" },
422     { 255, 250, 205, "lemonchiffon" },
423     { 255, 250, 205, "lemonchiffon1" },
424     { 238, 233, 191, "lemonchiffon2" },
425     { 205, 201, 165, "lemonchiffon3" },
426     { 139, 137, 112, "lemonchiffon4" },
427     { 173, 216, 230, "lightblue" },
428     { 191, 239, 255, "lightblue1" },
429     { 178, 223, 238, "lightblue2" },
430     { 154, 192, 205, "lightblue3" },
431     { 104, 131, 139, "lightblue4" },
432     { 240, 128, 128, "lightcoral" },
433     { 224, 255, 255, "lightcyan" },
434     { 224, 255, 255, "lightcyan1" },
435     { 209, 238, 238, "lightcyan2" },
436     { 180, 205, 205, "lightcyan3" },
437     { 122, 139, 139, "lightcyan4" },
438     { 238, 221, 130, "lightgoldenrod" },
439     { 255, 236, 139, "lightgoldenrod1" },
440     { 238, 220, 130, "lightgoldenrod2" },
441     { 205, 190, 112, "lightgoldenrod3" },
442     { 139, 129, 76, "lightgoldenrod4" },
443     { 250, 250, 210, "lightgoldenrodyellow" },
444     { 211, 211, 211, "lightgray" },
445     { 144, 238, 144, "lightgreen" },
446     { 211, 211, 211, "lightgrey" },
447     { 255, 182, 193, "lightpink" },
448     { 255, 174, 185, "lightpink1" },
449     { 238, 162, 173, "lightpink2" },
450     { 205, 140, 149, "lightpink3" },
451     { 139, 95, 101, "lightpink4" },
452     { 255, 160, 122, "lightsalmon" },
453     { 255, 160, 122, "lightsalmon1" },
454     { 238, 149, 114, "lightsalmon2" },
455     { 205, 129, 98, "lightsalmon3" },
456     { 139, 87, 66, "lightsalmon4" },
457     { 32, 178, 170, "lightseagreen" },
458     { 135, 206, 250, "lightskyblue" },
459     { 176, 226, 255, "lightskyblue1" },
460     { 164, 211, 238, "lightskyblue2" },
461     { 141, 182, 205, "lightskyblue3" },
462     { 96, 123, 139, "lightskyblue4" },
463     { 132, 112, 255, "lightslateblue" },
464     { 119, 136, 153, "lightslategray" },
465     { 119, 136, 153, "lightslategrey" },
466     { 176, 196, 222, "lightsteelblue" },
467     { 202, 225, 255, "lightsteelblue1" },
468     { 188, 210, 238, "lightsteelblue2" },
469     { 162, 181, 205, "lightsteelblue3" },
470     { 110, 123, 139, "lightsteelblue4" },
471     { 255, 255, 224, "lightyellow" },
472     { 255, 255, 224, "lightyellow1" },
473     { 238, 238, 209, "lightyellow2" },
474     { 205, 205, 180, "lightyellow3" },
475     { 139, 139, 122, "lightyellow4" },
476     { 50, 205, 50, "limegreen" },
477     { 250, 240, 230, "linen" },
478     { 255, 0, 255, "magenta" },
479     { 255, 0, 255, "magenta1" },
480     { 238, 0, 238, "magenta2" },
481     { 205, 0, 205, "magenta3" },
482     { 139, 0, 139, "magenta4" },
483     { 176, 48, 96, "maroon" },
484     { 255, 52, 179, "maroon1" },
485     { 238, 48, 167, "maroon2" },
486     { 205, 41, 144, "maroon3" },
487     { 139, 28, 98, "maroon4" },
488     { 102, 205, 170, "mediumaquamarine" },
489     { 0, 0, 205, "mediumblue" },
490     { 186, 85, 211, "mediumorchid" },
491     { 224, 102, 255, "mediumorchid1" },
492     { 209, 95, 238, "mediumorchid2" },
493     { 180, 82, 205, "mediumorchid3" },
494     { 122, 55, 139, "mediumorchid4" },
495     { 147, 112, 219, "mediumpurple" },
496     { 171, 130, 255, "mediumpurple1" },
497     { 159, 121, 238, "mediumpurple2" },
498     { 137, 104, 205, "mediumpurple3" },
499     { 93, 71, 139, "mediumpurple4" },
500     { 60, 179, 113, "mediumseagreen" },
501     { 123, 104, 238, "mediumslateblue" },
502     { 0, 250, 154, "mediumspringgreen" },
503     { 72, 209, 204, "mediumturquoise" },
504     { 199, 21, 133, "mediumvioletred" },
505     { 25, 25, 112, "midnightblue" },
506     { 245, 255, 250, "mintcream" },
507     { 255, 228, 225, "mistyrose" },
508     { 255, 228, 225, "mistyrose1" },
509     { 238, 213, 210, "mistyrose2" },
510     { 205, 183, 181, "mistyrose3" },
511     { 139, 125, 123, "mistyrose4" },
512     { 255, 228, 181, "moccasin" },
513     { 255, 222, 173, "navajowhite" },
514     { 255, 222, 173, "navajowhite1" },
515     { 238, 207, 161, "navajowhite2" },
516     { 205, 179, 139, "navajowhite3" },
517     { 139, 121, 94, "navajowhite4" },
518     { 0, 0, 128, "navy" },
519     { 0, 0, 128, "navyblue" },
520     { 253, 245, 230, "oldlace" },
521     { 107, 142, 35, "olivedrab" },
522     { 192, 255, 62, "olivedrab1" },
523     { 179, 238, 58, "olivedrab2" },
524     { 154, 205, 50, "olivedrab3" },
525     { 105, 139, 34, "olivedrab4" },
526     { 255, 165, 0, "orange" },
527     { 255, 165, 0, "orange1" },
528     { 238, 154, 0, "orange2" },
529     { 205, 133, 0, "orange3" },
530     { 139, 90, 0, "orange4" },
531     { 255, 69, 0, "orangered" },
532     { 255, 69, 0, "orangered1" },
533     { 238, 64, 0, "orangered2" },
534     { 205, 55, 0, "orangered3" },
535     { 139, 37, 0, "orangered4" },
536     { 218, 112, 214, "orchid" },
537     { 255, 131, 250, "orchid1" },
538     { 238, 122, 233, "orchid2" },
539     { 205, 105, 201, "orchid3" },
540     { 139, 71, 137, "orchid4" },
541     { 238, 232, 170, "palegoldenrod" },
542     { 152, 251, 152, "palegreen" },
543     { 154, 255, 154, "palegreen1" },
544     { 144, 238, 144, "palegreen2" },
545     { 124, 205, 124, "palegreen3" },
546     { 84, 139, 84, "palegreen4" },
547     { 175, 238, 238, "paleturquoise" },
548     { 187, 255, 255, "paleturquoise1" },
549     { 174, 238, 238, "paleturquoise2" },
550     { 150, 205, 205, "paleturquoise3" },
551     { 102, 139, 139, "paleturquoise4" },
552     { 219, 112, 147, "palevioletred" },
553     { 255, 130, 171, "palevioletred1" },
554     { 238, 121, 159, "palevioletred2" },
555     { 205, 104, 137, "palevioletred3" },
556     { 139, 71, 93, "palevioletred4" },
557     { 255, 239, 213, "papayawhip" },
558     { 255, 218, 185, "peachpuff" },
559     { 255, 218, 185, "peachpuff1" },
560     { 238, 203, 173, "peachpuff2" },
561     { 205, 175, 149, "peachpuff3" },
562     { 139, 119, 101, "peachpuff4" },
563     { 205, 133, 63, "peru" },
564     { 255, 192, 203, "pink" },
565     { 255, 181, 197, "pink1" },
566     { 238, 169, 184, "pink2" },
567     { 205, 145, 158, "pink3" },
568     { 139, 99, 108, "pink4" },
569     { 221, 160, 221, "plum" },
570     { 255, 187, 255, "plum1" },
571     { 238, 174, 238, "plum2" },
572     { 205, 150, 205, "plum3" },
573     { 139, 102, 139, "plum4" },
574     { 176, 224, 230, "powderblue" },
575     { 160, 32, 240, "purple" },
576     { 155, 48, 255, "purple1" },
577     { 145, 44, 238, "purple2" },
578     { 125, 38, 205, "purple3" },
579     { 85, 26, 139, "purple4" },
580     { 255, 0, 0, "red" },
581     { 255, 0, 0, "red1" },
582     { 238, 0, 0, "red2" },
583     { 205, 0, 0, "red3" },
584     { 139, 0, 0, "red4" },
585     { 188, 143, 143, "rosybrown" },
586     { 255, 193, 193, "rosybrown1" },
587     { 238, 180, 180, "rosybrown2" },
588     { 205, 155, 155, "rosybrown3" },
589     { 139, 105, 105, "rosybrown4" },
590     { 65, 105, 225, "royalblue" },
591     { 72, 118, 255, "royalblue1" },
592     { 67, 110, 238, "royalblue2" },
593     { 58, 95, 205, "royalblue3" },
594     { 39, 64, 139, "royalblue4" },
595     { 139, 69, 19, "saddlebrown" },
596     { 250, 128, 114, "salmon" },
597     { 255, 140, 105, "salmon1" },
598     { 238, 130, 98, "salmon2" },
599     { 205, 112, 84, "salmon3" },
600     { 139, 76, 57, "salmon4" },
601     { 244, 164, 96, "sandybrown" },
602     { 46, 139, 87, "seagreen" },
603     { 84, 255, 159, "seagreen1" },
604     { 78, 238, 148, "seagreen2" },
605     { 67, 205, 128, "seagreen3" },
606     { 46, 139, 87, "seagreen4" },
607     { 255, 245, 238, "seashell" },
608     { 255, 245, 238, "seashell1" },
609     { 238, 229, 222, "seashell2" },
610     { 205, 197, 191, "seashell3" },
611     { 139, 134, 130, "seashell4" },
612     { 160, 82, 45, "sienna" },
613     { 255, 130, 71, "sienna1" },
614     { 238, 121, 66, "sienna2" },
615     { 205, 104, 57, "sienna3" },
616     { 139, 71, 38, "sienna4" },
617     { 135, 206, 235, "skyblue" },
618     { 135, 206, 255, "skyblue1" },
619     { 126, 192, 238, "skyblue2" },
620     { 108, 166, 205, "skyblue3" },
621     { 74, 112, 139, "skyblue4" },
622     { 106, 90, 205, "slateblue" },
623     { 131, 111, 255, "slateblue1" },
624     { 122, 103, 238, "slateblue2" },
625     { 105, 89, 205, "slateblue3" },
626     { 71, 60, 139, "slateblue4" },
627     { 112, 128, 144, "slategray" },
628     { 198, 226, 255, "slategray1" },
629     { 185, 211, 238, "slategray2" },
630     { 159, 182, 205, "slategray3" },
631     { 108, 123, 139, "slategray4" },
632     { 112, 128, 144, "slategrey" },
633     { 255, 250, 250, "snow" },
634     { 255, 250, 250, "snow1" },
635     { 238, 233, 233, "snow2" },
636     { 205, 201, 201, "snow3" },
637     { 139, 137, 137, "snow4" },
638     { 0, 255, 127, "springgreen" },
639     { 0, 255, 127, "springgreen1" },
640     { 0, 238, 118, "springgreen2" },
641     { 0, 205, 102, "springgreen3" },
642     { 0, 139, 69, "springgreen4" },
643     { 70, 130, 180, "steelblue" },
644     { 99, 184, 255, "steelblue1" },
645     { 92, 172, 238, "steelblue2" },
646     { 79, 148, 205, "steelblue3" },
647     { 54, 100, 139, "steelblue4" },
648     { 210, 180, 140, "tan" },
649     { 255, 165, 79, "tan1" },
650     { 238, 154, 73, "tan2" },
651     { 205, 133, 63, "tan3" },
652     { 139, 90, 43, "tan4" },
653     { 216, 191, 216, "thistle" },
654     { 255, 225, 255, "thistle1" },
655     { 238, 210, 238, "thistle2" },
656     { 205, 181, 205, "thistle3" },
657     { 139, 123, 139, "thistle4" },
658     { 255, 99, 71, "tomato" },
659     { 255, 99, 71, "tomato1" },
660     { 238, 92, 66, "tomato2" },
661     { 205, 79, 57, "tomato3" },
662     { 139, 54, 38, "tomato4" },
663     { 64, 224, 208, "turquoise" },
664     { 0, 245, 255, "turquoise1" },
665     { 0, 229, 238, "turquoise2" },
666     { 0, 197, 205, "turquoise3" },
667     { 0, 134, 139, "turquoise4" },
668     { 238, 130, 238, "violet" },
669     { 208, 32, 144, "violetred" },
670     { 255, 62, 150, "violetred1" },
671     { 238, 58, 140, "violetred2" },
672     { 205, 50, 120, "violetred3" },
673     { 139, 34, 82, "violetred4" },
674     { 245, 222, 179, "wheat" },
675     { 255, 231, 186, "wheat1" },
676     { 238, 216, 174, "wheat2" },
677     { 205, 186, 150, "wheat3" },
678     { 139, 126, 102, "wheat4" },
679     { 255, 255, 255, "white" },
680     { 245, 245, 245, "whitesmoke" },
681     { 255, 255, 0, "yellow" },
682     { 255, 255, 0, "yellow1" },
683     { 238, 238, 0, "yellow2" },
684     { 205, 205, 0, "yellow3" },
685     { 139, 139, 0, "yellow4" },
686     { 154, 205, 50, "yellowgreen" }
687 ];