KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > java > swing > plaf > gtk > XColors


1 /*
2  * @(#)XColors.java 1.5 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package com.sun.java.swing.plaf.gtk;
9
10 import java.awt.Color JavaDoc;
11 import java.util.Arrays JavaDoc;
12 import javax.swing.plaf.ColorUIResource JavaDoc;
13
14 /**
15  * @author Shannon Hickey
16  * @version 1.5 12/19/03
17  */

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