0N/A/*
2362N/A * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/Apackage com.sun.java.swing.plaf.gtk;
0N/A
0N/Aimport java.awt.Color;
0N/Aimport java.util.Arrays;
0N/Aimport javax.swing.plaf.ColorUIResource;
0N/A
0N/A/**
0N/A * @author Shannon Hickey
0N/A */
0N/Aclass XColors {
0N/A
0N/A private static class XColor implements Comparable {
0N/A String name;
0N/A
0N/A int red;
0N/A int green;
0N/A int blue;
0N/A
0N/A XColor(String name, int red, int green, int blue) {
0N/A this.name = name;
0N/A this.red = red;
0N/A this.green = green;
0N/A this.blue = blue;
0N/A }
0N/A
0N/A Color toColor() {
0N/A return new ColorUIResource(red, green, blue);
0N/A }
0N/A
0N/A public int compareTo(Object o) {
0N/A XColor other = (XColor)o;
0N/A
0N/A return name.compareTo(other.name);
0N/A }
0N/A }
0N/A
0N/A private static XColor key = new XColor("", -1, -1, -1);
0N/A
0N/A static Color lookupColor(String name) {
0N/A key.name = name.toLowerCase();
0N/A
0N/A int pos = Arrays.binarySearch(colors, key);
0N/A
0N/A if (pos < 0) {
0N/A return null;
0N/A }
0N/A
0N/A return colors[pos].toColor();
0N/A }
0N/A
0N/A private static final XColor[] colors = {
0N/A new XColor("alice blue", 240, 248, 255),
0N/A new XColor("aliceblue", 240, 248, 255),
0N/A new XColor("antique white", 250, 235, 215),
0N/A new XColor("antiquewhite", 250, 235, 215),
0N/A new XColor("antiquewhite1", 255, 239, 219),
0N/A new XColor("antiquewhite2", 238, 223, 204),
0N/A new XColor("antiquewhite3", 205, 192, 176),
0N/A new XColor("antiquewhite4", 139, 131, 120),
0N/A new XColor("aquamarine", 127, 255, 212),
0N/A new XColor("aquamarine1", 127, 255, 212),
0N/A new XColor("aquamarine2", 118, 238, 198),
0N/A new XColor("aquamarine3", 102, 205, 170),
0N/A new XColor("aquamarine4", 69, 139, 116),
0N/A new XColor("azure", 240, 255, 255),
0N/A new XColor("azure1", 240, 255, 255),
0N/A new XColor("azure2", 224, 238, 238),
0N/A new XColor("azure3", 193, 205, 205),
0N/A new XColor("azure4", 131, 139, 139),
0N/A new XColor("beige", 245, 245, 220),
0N/A new XColor("bisque", 255, 228, 196),
0N/A new XColor("bisque1", 255, 228, 196),
0N/A new XColor("bisque2", 238, 213, 183),
0N/A new XColor("bisque3", 205, 183, 158),
0N/A new XColor("bisque4", 139, 125, 107),
0N/A new XColor("black", 0, 0, 0),
0N/A new XColor("blanched almond", 255, 235, 205),
0N/A new XColor("blanchedalmond", 255, 235, 205),
0N/A new XColor("blue", 0, 0, 255),
0N/A new XColor("blue violet", 138, 43, 226),
0N/A new XColor("blue1", 0, 0, 255),
0N/A new XColor("blue2", 0, 0, 238),
0N/A new XColor("blue3", 0, 0, 205),
0N/A new XColor("blue4", 0, 0, 139),
0N/A new XColor("blueviolet", 138, 43, 226),
0N/A new XColor("brown", 165, 42, 42),
0N/A new XColor("brown1", 255, 64, 64),
0N/A new XColor("brown2", 238, 59, 59),
0N/A new XColor("brown3", 205, 51, 51),
0N/A new XColor("brown4", 139, 35, 35),
0N/A new XColor("burlywood", 222, 184, 135),
0N/A new XColor("burlywood1", 255, 211, 155),
0N/A new XColor("burlywood2", 238, 197, 145),
0N/A new XColor("burlywood3", 205, 170, 125),
0N/A new XColor("burlywood4", 139, 115, 85),
0N/A new XColor("cadet blue", 95, 158, 160),
0N/A new XColor("cadetblue", 95, 158, 160),
0N/A new XColor("cadetblue1", 152, 245, 255),
0N/A new XColor("cadetblue2", 142, 229, 238),
0N/A new XColor("cadetblue3", 122, 197, 205),
0N/A new XColor("cadetblue4", 83, 134, 139),
0N/A new XColor("chartreuse", 127, 255, 0),
0N/A new XColor("chartreuse1", 127, 255, 0),
0N/A new XColor("chartreuse2", 118, 238, 0),
0N/A new XColor("chartreuse3", 102, 205, 0),
0N/A new XColor("chartreuse4", 69, 139, 0),
0N/A new XColor("chocolate", 210, 105, 30),
0N/A new XColor("chocolate1", 255, 127, 36),
0N/A new XColor("chocolate2", 238, 118, 33),
0N/A new XColor("chocolate3", 205, 102, 29),
0N/A new XColor("chocolate4", 139, 69, 19),
0N/A new XColor("coral", 255, 127, 80),
0N/A new XColor("coral1", 255, 114, 86),
0N/A new XColor("coral2", 238, 106, 80),
0N/A new XColor("coral3", 205, 91, 69),
0N/A new XColor("coral4", 139, 62, 47),
0N/A new XColor("cornflower blue", 100, 149, 237),
0N/A new XColor("cornflowerblue", 100, 149, 237),
0N/A new XColor("cornsilk", 255, 248, 220),
0N/A new XColor("cornsilk1", 255, 248, 220),
0N/A new XColor("cornsilk2", 238, 232, 205),
0N/A new XColor("cornsilk3", 205, 200, 177),
0N/A new XColor("cornsilk4", 139, 136, 120),
0N/A new XColor("cyan", 0, 255, 255),
0N/A new XColor("cyan1", 0, 255, 255),
0N/A new XColor("cyan2", 0, 238, 238),
0N/A new XColor("cyan3", 0, 205, 205),
0N/A new XColor("cyan4", 0, 139, 139),
0N/A new XColor("dark blue", 0, 0, 139),
0N/A new XColor("dark cyan", 0, 139, 139),
0N/A new XColor("dark goldenrod", 184, 134, 11),
0N/A new XColor("dark gray", 169, 169, 169),
0N/A new XColor("dark green", 0, 100, 0),
0N/A new XColor("dark grey", 169, 169, 169),
0N/A new XColor("dark khaki", 189, 183, 107),
0N/A new XColor("dark magenta", 139, 0, 139),
0N/A new XColor("dark olive green", 85, 107, 47),
0N/A new XColor("dark orange", 255, 140, 0),
0N/A new XColor("dark orchid", 153, 50, 204),
0N/A new XColor("dark red", 139, 0, 0),
0N/A new XColor("dark salmon", 233, 150, 122),
0N/A new XColor("dark sea green", 143, 188, 143),
0N/A new XColor("dark slate blue", 72, 61, 139),
0N/A new XColor("dark slate gray", 47, 79, 79),
0N/A new XColor("dark slate grey", 47, 79, 79),
0N/A new XColor("dark turquoise", 0, 206, 209),
0N/A new XColor("dark violet", 148, 0, 211),
0N/A new XColor("darkblue", 0, 0, 139),
0N/A new XColor("darkcyan", 0, 139, 139),
0N/A new XColor("darkgoldenrod", 184, 134, 11),
0N/A new XColor("darkgoldenrod1", 255, 185, 15),
0N/A new XColor("darkgoldenrod2", 238, 173, 14),
0N/A new XColor("darkgoldenrod3", 205, 149, 12),
0N/A new XColor("darkgoldenrod4", 139, 101, 8),
0N/A new XColor("darkgray", 169, 169, 169),
0N/A new XColor("darkgreen", 0, 100, 0),
0N/A new XColor("darkgrey", 169, 169, 169),
0N/A new XColor("darkkhaki", 189, 183, 107),
0N/A new XColor("darkmagenta", 139, 0, 139),
0N/A new XColor("darkolivegreen", 85, 107, 47),
0N/A new XColor("darkolivegreen1", 202, 255, 112),
0N/A new XColor("darkolivegreen2", 188, 238, 104),
0N/A new XColor("darkolivegreen3", 162, 205, 90),
0N/A new XColor("darkolivegreen4", 110, 139, 61),
0N/A new XColor("darkorange", 255, 140, 0),
0N/A new XColor("darkorange1", 255, 127, 0),
0N/A new XColor("darkorange2", 238, 118, 0),
0N/A new XColor("darkorange3", 205, 102, 0),
0N/A new XColor("darkorange4", 139, 69, 0),
0N/A new XColor("darkorchid", 153, 50, 204),
0N/A new XColor("darkorchid1", 191, 62, 255),
0N/A new XColor("darkorchid2", 178, 58, 238),
0N/A new XColor("darkorchid3", 154, 50, 205),
0N/A new XColor("darkorchid4", 104, 34, 139),
0N/A new XColor("darkred", 139, 0, 0),
0N/A new XColor("darksalmon", 233, 150, 122),
0N/A new XColor("darkseagreen", 143, 188, 143),
0N/A new XColor("darkseagreen1", 193, 255, 193),
0N/A new XColor("darkseagreen2", 180, 238, 180),
0N/A new XColor("darkseagreen3", 155, 205, 155),
0N/A new XColor("darkseagreen4", 105, 139, 105),
0N/A new XColor("darkslateblue", 72, 61, 139),
0N/A new XColor("darkslategray", 47, 79, 79),
0N/A new XColor("darkslategray1", 151, 255, 255),
0N/A new XColor("darkslategray2", 141, 238, 238),
0N/A new XColor("darkslategray3", 121, 205, 205),
0N/A new XColor("darkslategray4", 82, 139, 139),
0N/A new XColor("darkslategrey", 47, 79, 79),
0N/A new XColor("darkturquoise", 0, 206, 209),
0N/A new XColor("darkviolet", 148, 0, 211),
0N/A new XColor("deep pink", 255, 20, 147),
0N/A new XColor("deep sky blue", 0, 191, 255),
0N/A new XColor("deeppink", 255, 20, 147),
0N/A new XColor("deeppink1", 255, 20, 147),
0N/A new XColor("deeppink2", 238, 18, 137),
0N/A new XColor("deeppink3", 205, 16, 118),
0N/A new XColor("deeppink4", 139, 10, 80),
0N/A new XColor("deepskyblue", 0, 191, 255),
0N/A new XColor("deepskyblue1", 0, 191, 255),
0N/A new XColor("deepskyblue2", 0, 178, 238),
0N/A new XColor("deepskyblue3", 0, 154, 205),
0N/A new XColor("deepskyblue4", 0, 104, 139),
0N/A new XColor("dim gray", 105, 105, 105),
0N/A new XColor("dim grey", 105, 105, 105),
0N/A new XColor("dimgray", 105, 105, 105),
0N/A new XColor("dimgrey", 105, 105, 105),
0N/A new XColor("dodger blue", 30, 144, 255),
0N/A new XColor("dodgerblue", 30, 144, 255),
0N/A new XColor("dodgerblue1", 30, 144, 255),
0N/A new XColor("dodgerblue2", 28, 134, 238),
0N/A new XColor("dodgerblue3", 24, 116, 205),
0N/A new XColor("dodgerblue4", 16, 78, 139),
0N/A new XColor("firebrick", 178, 34, 34),
0N/A new XColor("firebrick1", 255, 48, 48),
0N/A new XColor("firebrick2", 238, 44, 44),
0N/A new XColor("firebrick3", 205, 38, 38),
0N/A new XColor("firebrick4", 139, 26, 26),
0N/A new XColor("floral white", 255, 250, 240),
0N/A new XColor("floralwhite", 255, 250, 240),
0N/A new XColor("forest green", 34, 139, 34),
0N/A new XColor("forestgreen", 34, 139, 34),
0N/A new XColor("gainsboro", 220, 220, 220),
0N/A new XColor("ghost white", 248, 248, 255),
0N/A new XColor("ghostwhite", 248, 248, 255),
0N/A new XColor("gold", 255, 215, 0),
0N/A new XColor("gold1", 255, 215, 0),
0N/A new XColor("gold2", 238, 201, 0),
0N/A new XColor("gold3", 205, 173, 0),
0N/A new XColor("gold4", 139, 117, 0),
0N/A new XColor("goldenrod", 218, 165, 32),
0N/A new XColor("goldenrod1", 255, 193, 37),
0N/A new XColor("goldenrod2", 238, 180, 34),
0N/A new XColor("goldenrod3", 205, 155, 29),
0N/A new XColor("goldenrod4", 139, 105, 20),
0N/A new XColor("gray", 190, 190, 190),
0N/A new XColor("gray0", 0, 0, 0),
0N/A new XColor("gray1", 3, 3, 3),
0N/A new XColor("gray10", 26, 26, 26),
0N/A new XColor("gray100", 255, 255, 255),
0N/A new XColor("gray11", 28, 28, 28),
0N/A new XColor("gray12", 31, 31, 31),
0N/A new XColor("gray13", 33, 33, 33),
0N/A new XColor("gray14", 36, 36, 36),
0N/A new XColor("gray15", 38, 38, 38),
0N/A new XColor("gray16", 41, 41, 41),
0N/A new XColor("gray17", 43, 43, 43),
0N/A new XColor("gray18", 46, 46, 46),
0N/A new XColor("gray19", 48, 48, 48),
0N/A new XColor("gray2", 5, 5, 5),
0N/A new XColor("gray20", 51, 51, 51),
0N/A new XColor("gray21", 54, 54, 54),
0N/A new XColor("gray22", 56, 56, 56),
0N/A new XColor("gray23", 59, 59, 59),
0N/A new XColor("gray24", 61, 61, 61),
0N/A new XColor("gray25", 64, 64, 64),
0N/A new XColor("gray26", 66, 66, 66),
0N/A new XColor("gray27", 69, 69, 69),
0N/A new XColor("gray28", 71, 71, 71),
0N/A new XColor("gray29", 74, 74, 74),
0N/A new XColor("gray3", 8, 8, 8),
0N/A new XColor("gray30", 77, 77, 77),
0N/A new XColor("gray31", 79, 79, 79),
0N/A new XColor("gray32", 82, 82, 82),
0N/A new XColor("gray33", 84, 84, 84),
0N/A new XColor("gray34", 87, 87, 87),
0N/A new XColor("gray35", 89, 89, 89),
0N/A new XColor("gray36", 92, 92, 92),
0N/A new XColor("gray37", 94, 94, 94),
0N/A new XColor("gray38", 97, 97, 97),
0N/A new XColor("gray39", 99, 99, 99),
0N/A new XColor("gray4", 10, 10, 10),
0N/A new XColor("gray40", 102, 102, 102),
0N/A new XColor("gray41", 105, 105, 105),
0N/A new XColor("gray42", 107, 107, 107),
0N/A new XColor("gray43", 110, 110, 110),
0N/A new XColor("gray44", 112, 112, 112),
0N/A new XColor("gray45", 115, 115, 115),
0N/A new XColor("gray46", 117, 117, 117),
0N/A new XColor("gray47", 120, 120, 120),
0N/A new XColor("gray48", 122, 122, 122),
0N/A new XColor("gray49", 125, 125, 125),
0N/A new XColor("gray5", 13, 13, 13),
0N/A new XColor("gray50", 127, 127, 127),
0N/A new XColor("gray51", 130, 130, 130),
0N/A new XColor("gray52", 133, 133, 133),
0N/A new XColor("gray53", 135, 135, 135),
0N/A new XColor("gray54", 138, 138, 138),
0N/A new XColor("gray55", 140, 140, 140),
0N/A new XColor("gray56", 143, 143, 143),
0N/A new XColor("gray57", 145, 145, 145),
0N/A new XColor("gray58", 148, 148, 148),
0N/A new XColor("gray59", 150, 150, 150),
0N/A new XColor("gray6", 15, 15, 15),
0N/A new XColor("gray60", 153, 153, 153),
0N/A new XColor("gray61", 156, 156, 156),
0N/A new XColor("gray62", 158, 158, 158),
0N/A new XColor("gray63", 161, 161, 161),
0N/A new XColor("gray64", 163, 163, 163),
0N/A new XColor("gray65", 166, 166, 166),
0N/A new XColor("gray66", 168, 168, 168),
0N/A new XColor("gray67", 171, 171, 171),
0N/A new XColor("gray68", 173, 173, 173),
0N/A new XColor("gray69", 176, 176, 176),
0N/A new XColor("gray7", 18, 18, 18),
0N/A new XColor("gray70", 179, 179, 179),
0N/A new XColor("gray71", 181, 181, 181),
0N/A new XColor("gray72", 184, 184, 184),
0N/A new XColor("gray73", 186, 186, 186),
0N/A new XColor("gray74", 189, 189, 189),
0N/A new XColor("gray75", 191, 191, 191),
0N/A new XColor("gray76", 194, 194, 194),
0N/A new XColor("gray77", 196, 196, 196),
0N/A new XColor("gray78", 199, 199, 199),
0N/A new XColor("gray79", 201, 201, 201),
0N/A new XColor("gray8", 20, 20, 20),
0N/A new XColor("gray80", 204, 204, 204),
0N/A new XColor("gray81", 207, 207, 207),
0N/A new XColor("gray82", 209, 209, 209),
0N/A new XColor("gray83", 212, 212, 212),
0N/A new XColor("gray84", 214, 214, 214),
0N/A new XColor("gray85", 217, 217, 217),
0N/A new XColor("gray86", 219, 219, 219),
0N/A new XColor("gray87", 222, 222, 222),
0N/A new XColor("gray88", 224, 224, 224),
0N/A new XColor("gray89", 227, 227, 227),
0N/A new XColor("gray9", 23, 23, 23),
0N/A new XColor("gray90", 229, 229, 229),
0N/A new XColor("gray91", 232, 232, 232),
0N/A new XColor("gray92", 235, 235, 235),
0N/A new XColor("gray93", 237, 237, 237),
0N/A new XColor("gray94", 240, 240, 240),
0N/A new XColor("gray95", 242, 242, 242),
0N/A new XColor("gray96", 245, 245, 245),
0N/A new XColor("gray97", 247, 247, 247),
0N/A new XColor("gray98", 250, 250, 250),
0N/A new XColor("gray99", 252, 252, 252),
0N/A new XColor("green", 0, 255, 0),
0N/A new XColor("green yellow", 173, 255, 47),
0N/A new XColor("green1", 0, 255, 0),
0N/A new XColor("green2", 0, 238, 0),
0N/A new XColor("green3", 0, 205, 0),
0N/A new XColor("green4", 0, 139, 0),
0N/A new XColor("greenyellow", 173, 255, 47),
0N/A new XColor("grey", 190, 190, 190),
0N/A new XColor("grey0", 0, 0, 0),
0N/A new XColor("grey1", 3, 3, 3),
0N/A new XColor("grey10", 26, 26, 26),
0N/A new XColor("grey100", 255, 255, 255),
0N/A new XColor("grey11", 28, 28, 28),
0N/A new XColor("grey12", 31, 31, 31),
0N/A new XColor("grey13", 33, 33, 33),
0N/A new XColor("grey14", 36, 36, 36),
0N/A new XColor("grey15", 38, 38, 38),
0N/A new XColor("grey16", 41, 41, 41),
0N/A new XColor("grey17", 43, 43, 43),
0N/A new XColor("grey18", 46, 46, 46),
0N/A new XColor("grey19", 48, 48, 48),
0N/A new XColor("grey2", 5, 5, 5),
0N/A new XColor("grey20", 51, 51, 51),
0N/A new XColor("grey21", 54, 54, 54),
0N/A new XColor("grey22", 56, 56, 56),
0N/A new XColor("grey23", 59, 59, 59),
0N/A new XColor("grey24", 61, 61, 61),
0N/A new XColor("grey25", 64, 64, 64),
0N/A new XColor("grey26", 66, 66, 66),
0N/A new XColor("grey27", 69, 69, 69),
0N/A new XColor("grey28", 71, 71, 71),
0N/A new XColor("grey29", 74, 74, 74),
0N/A new XColor("grey3", 8, 8, 8),
0N/A new XColor("grey30", 77, 77, 77),
0N/A new XColor("grey31", 79, 79, 79),
0N/A new XColor("grey32", 82, 82, 82),
0N/A new XColor("grey33", 84, 84, 84),
0N/A new XColor("grey34", 87, 87, 87),
0N/A new XColor("grey35", 89, 89, 89),
0N/A new XColor("grey36", 92, 92, 92),
0N/A new XColor("grey37", 94, 94, 94),
0N/A new XColor("grey38", 97, 97, 97),
0N/A new XColor("grey39", 99, 99, 99),
0N/A new XColor("grey4", 10, 10, 10),
0N/A new XColor("grey40", 102, 102, 102),
0N/A new XColor("grey41", 105, 105, 105),
0N/A new XColor("grey42", 107, 107, 107),
0N/A new XColor("grey43", 110, 110, 110),
0N/A new XColor("grey44", 112, 112, 112),
0N/A new XColor("grey45", 115, 115, 115),
0N/A new XColor("grey46", 117, 117, 117),
0N/A new XColor("grey47", 120, 120, 120),
0N/A new XColor("grey48", 122, 122, 122),
0N/A new XColor("grey49", 125, 125, 125),
0N/A new XColor("grey5", 13, 13, 13),
0N/A new XColor("grey50", 127, 127, 127),
0N/A new XColor("grey51", 130, 130, 130),
0N/A new XColor("grey52", 133, 133, 133),
0N/A new XColor("grey53", 135, 135, 135),
0N/A new XColor("grey54", 138, 138, 138),
0N/A new XColor("grey55", 140, 140, 140),
0N/A new XColor("grey56", 143, 143, 143),
0N/A new XColor("grey57", 145, 145, 145),
0N/A new XColor("grey58", 148, 148, 148),
0N/A new XColor("grey59", 150, 150, 150),
0N/A new XColor("grey6", 15, 15, 15),
0N/A new XColor("grey60", 153, 153, 153),
0N/A new XColor("grey61", 156, 156, 156),
0N/A new XColor("grey62", 158, 158, 158),
0N/A new XColor("grey63", 161, 161, 161),
0N/A new XColor("grey64", 163, 163, 163),
0N/A new XColor("grey65", 166, 166, 166),
0N/A new XColor("grey66", 168, 168, 168),
0N/A new XColor("grey67", 171, 171, 171),
0N/A new XColor("grey68", 173, 173, 173),
0N/A new XColor("grey69", 176, 176, 176),
0N/A new XColor("grey7", 18, 18, 18),
0N/A new XColor("grey70", 179, 179, 179),
0N/A new XColor("grey71", 181, 181, 181),
0N/A new XColor("grey72", 184, 184, 184),
0N/A new XColor("grey73", 186, 186, 186),
0N/A new XColor("grey74", 189, 189, 189),
0N/A new XColor("grey75", 191, 191, 191),
0N/A new XColor("grey76", 194, 194, 194),
0N/A new XColor("grey77", 196, 196, 196),
0N/A new XColor("grey78", 199, 199, 199),
0N/A new XColor("grey79", 201, 201, 201),
0N/A new XColor("grey8", 20, 20, 20),
0N/A new XColor("grey80", 204, 204, 204),
0N/A new XColor("grey81", 207, 207, 207),
0N/A new XColor("grey82", 209, 209, 209),
0N/A new XColor("grey83", 212, 212, 212),
0N/A new XColor("grey84", 214, 214, 214),
0N/A new XColor("grey85", 217, 217, 217),
0N/A new XColor("grey86", 219, 219, 219),
0N/A new XColor("grey87", 222, 222, 222),
0N/A new XColor("grey88", 224, 224, 224),
0N/A new XColor("grey89", 227, 227, 227),
0N/A new XColor("grey9", 23, 23, 23),
0N/A new XColor("grey90", 229, 229, 229),
0N/A new XColor("grey91", 232, 232, 232),
0N/A new XColor("grey92", 235, 235, 235),
0N/A new XColor("grey93", 237, 237, 237),
0N/A new XColor("grey94", 240, 240, 240),
0N/A new XColor("grey95", 242, 242, 242),
0N/A new XColor("grey96", 245, 245, 245),
0N/A new XColor("grey97", 247, 247, 247),
0N/A new XColor("grey98", 250, 250, 250),
0N/A new XColor("grey99", 252, 252, 252),
0N/A new XColor("honeydew", 240, 255, 240),
0N/A new XColor("honeydew1", 240, 255, 240),
0N/A new XColor("honeydew2", 224, 238, 224),
0N/A new XColor("honeydew3", 193, 205, 193),
0N/A new XColor("honeydew4", 131, 139, 131),
0N/A new XColor("hot pink", 255, 105, 180),
0N/A new XColor("hotpink", 255, 105, 180),
0N/A new XColor("hotpink1", 255, 110, 180),
0N/A new XColor("hotpink2", 238, 106, 167),
0N/A new XColor("hotpink3", 205, 96, 144),
0N/A new XColor("hotpink4", 139, 58, 98),
0N/A new XColor("indian red", 205, 92, 92),
0N/A new XColor("indianred", 205, 92, 92),
0N/A new XColor("indianred1", 255, 106, 106),
0N/A new XColor("indianred2", 238, 99, 99),
0N/A new XColor("indianred3", 205, 85, 85),
0N/A new XColor("indianred4", 139, 58, 58),
0N/A new XColor("ivory", 255, 255, 240),
0N/A new XColor("ivory1", 255, 255, 240),
0N/A new XColor("ivory2", 238, 238, 224),
0N/A new XColor("ivory3", 205, 205, 193),
0N/A new XColor("ivory4", 139, 139, 131),
0N/A new XColor("khaki", 240, 230, 140),
0N/A new XColor("khaki1", 255, 246, 143),
0N/A new XColor("khaki2", 238, 230, 133),
0N/A new XColor("khaki3", 205, 198, 115),
0N/A new XColor("khaki4", 139, 134, 78),
0N/A new XColor("lavender", 230, 230, 250),
0N/A new XColor("lavender blush", 255, 240, 245),
0N/A new XColor("lavenderblush", 255, 240, 245),
0N/A new XColor("lavenderblush1", 255, 240, 245),
0N/A new XColor("lavenderblush2", 238, 224, 229),
0N/A new XColor("lavenderblush3", 205, 193, 197),
0N/A new XColor("lavenderblush4", 139, 131, 134),
0N/A new XColor("lawn green", 124, 252, 0),
0N/A new XColor("lawngreen", 124, 252, 0),
0N/A new XColor("lemon chiffon", 255, 250, 205),
0N/A new XColor("lemonchiffon", 255, 250, 205),
0N/A new XColor("lemonchiffon1", 255, 250, 205),
0N/A new XColor("lemonchiffon2", 238, 233, 191),
0N/A new XColor("lemonchiffon3", 205, 201, 165),
0N/A new XColor("lemonchiffon4", 139, 137, 112),
0N/A new XColor("light blue", 173, 216, 230),
0N/A new XColor("light coral", 240, 128, 128),
0N/A new XColor("light cyan", 224, 255, 255),
0N/A new XColor("light goldenrod", 238, 221, 130),
0N/A new XColor("light goldenrod yellow", 250, 250, 210),
0N/A new XColor("light gray", 211, 211, 211),
0N/A new XColor("light green", 144, 238, 144),
0N/A new XColor("light grey", 211, 211, 211),
0N/A new XColor("light pink", 255, 182, 193),
0N/A new XColor("light salmon", 255, 160, 122),
0N/A new XColor("light sea green", 32, 178, 170),
0N/A new XColor("light sky blue", 135, 206, 250),
0N/A new XColor("light slate blue", 132, 112, 255),
0N/A new XColor("light slate gray", 119, 136, 153),
0N/A new XColor("light slate grey", 119, 136, 153),
0N/A new XColor("light steel blue", 176, 196, 222),
0N/A new XColor("light yellow", 255, 255, 224),
0N/A new XColor("lightblue", 173, 216, 230),
0N/A new XColor("lightblue1", 191, 239, 255),
0N/A new XColor("lightblue2", 178, 223, 238),
0N/A new XColor("lightblue3", 154, 192, 205),
0N/A new XColor("lightblue4", 104, 131, 139),
0N/A new XColor("lightcoral", 240, 128, 128),
0N/A new XColor("lightcyan", 224, 255, 255),
0N/A new XColor("lightcyan1", 224, 255, 255),
0N/A new XColor("lightcyan2", 209, 238, 238),
0N/A new XColor("lightcyan3", 180, 205, 205),
0N/A new XColor("lightcyan4", 122, 139, 139),
0N/A new XColor("lightgoldenrod", 238, 221, 130),
0N/A new XColor("lightgoldenrod1", 255, 236, 139),
0N/A new XColor("lightgoldenrod2", 238, 220, 130),
0N/A new XColor("lightgoldenrod3", 205, 190, 112),
0N/A new XColor("lightgoldenrod4", 139, 129, 76),
0N/A new XColor("lightgoldenrodyellow", 250, 250, 210),
0N/A new XColor("lightgray", 211, 211, 211),
0N/A new XColor("lightgreen", 144, 238, 144),
0N/A new XColor("lightgrey", 211, 211, 211),
0N/A new XColor("lightpink", 255, 182, 193),
0N/A new XColor("lightpink1", 255, 174, 185),
0N/A new XColor("lightpink2", 238, 162, 173),
0N/A new XColor("lightpink3", 205, 140, 149),
0N/A new XColor("lightpink4", 139, 95, 101),
0N/A new XColor("lightsalmon", 255, 160, 122),
0N/A new XColor("lightsalmon1", 255, 160, 122),
0N/A new XColor("lightsalmon2", 238, 149, 114),
0N/A new XColor("lightsalmon3", 205, 129, 98),
0N/A new XColor("lightsalmon4", 139, 87, 66),
0N/A new XColor("lightseagreen", 32, 178, 170),
0N/A new XColor("lightskyblue", 135, 206, 250),
0N/A new XColor("lightskyblue1", 176, 226, 255),
0N/A new XColor("lightskyblue2", 164, 211, 238),
0N/A new XColor("lightskyblue3", 141, 182, 205),
0N/A new XColor("lightskyblue4", 96, 123, 139),
0N/A new XColor("lightslateblue", 132, 112, 255),
0N/A new XColor("lightslategray", 119, 136, 153),
0N/A new XColor("lightslategrey", 119, 136, 153),
0N/A new XColor("lightsteelblue", 176, 196, 222),
0N/A new XColor("lightsteelblue1", 202, 225, 255),
0N/A new XColor("lightsteelblue2", 188, 210, 238),
0N/A new XColor("lightsteelblue3", 162, 181, 205),
0N/A new XColor("lightsteelblue4", 110, 123, 139),
0N/A new XColor("lightyellow", 255, 255, 224),
0N/A new XColor("lightyellow1", 255, 255, 224),
0N/A new XColor("lightyellow2", 238, 238, 209),
0N/A new XColor("lightyellow3", 205, 205, 180),
0N/A new XColor("lightyellow4", 139, 139, 122),
0N/A new XColor("lime green", 50, 205, 50),
0N/A new XColor("limegreen", 50, 205, 50),
0N/A new XColor("linen", 250, 240, 230),
0N/A new XColor("magenta", 255, 0, 255),
0N/A new XColor("magenta1", 255, 0, 255),
0N/A new XColor("magenta2", 238, 0, 238),
0N/A new XColor("magenta3", 205, 0, 205),
0N/A new XColor("magenta4", 139, 0, 139),
0N/A new XColor("maroon", 176, 48, 96),
0N/A new XColor("maroon1", 255, 52, 179),
0N/A new XColor("maroon2", 238, 48, 167),
0N/A new XColor("maroon3", 205, 41, 144),
0N/A new XColor("maroon4", 139, 28, 98),
0N/A new XColor("medium aquamarine", 102, 205, 170),
0N/A new XColor("medium blue", 0, 0, 205),
0N/A new XColor("medium orchid", 186, 85, 211),
0N/A new XColor("medium purple", 147, 112, 219),
0N/A new XColor("medium sea green", 60, 179, 113),
0N/A new XColor("medium slate blue", 123, 104, 238),
0N/A new XColor("medium spring green", 0, 250, 154),
0N/A new XColor("medium turquoise", 72, 209, 204),
0N/A new XColor("medium violet red", 199, 21, 133),
0N/A new XColor("mediumaquamarine", 102, 205, 170),
0N/A new XColor("mediumblue", 0, 0, 205),
0N/A new XColor("mediumorchid", 186, 85, 211),
0N/A new XColor("mediumorchid1", 224, 102, 255),
0N/A new XColor("mediumorchid2", 209, 95, 238),
0N/A new XColor("mediumorchid3", 180, 82, 205),
0N/A new XColor("mediumorchid4", 122, 55, 139),
0N/A new XColor("mediumpurple", 147, 112, 219),
0N/A new XColor("mediumpurple1", 171, 130, 255),
0N/A new XColor("mediumpurple2", 159, 121, 238),
0N/A new XColor("mediumpurple3", 137, 104, 205),
0N/A new XColor("mediumpurple4", 93, 71, 139),
0N/A new XColor("mediumseagreen", 60, 179, 113),
0N/A new XColor("mediumslateblue", 123, 104, 238),
0N/A new XColor("mediumspringgreen", 0, 250, 154),
0N/A new XColor("mediumturquoise", 72, 209, 204),
0N/A new XColor("mediumvioletred", 199, 21, 133),
0N/A new XColor("midnight blue", 25, 25, 112),
0N/A new XColor("midnightblue", 25, 25, 112),
0N/A new XColor("mint cream", 245, 255, 250),
0N/A new XColor("mintcream", 245, 255, 250),
0N/A new XColor("misty rose", 255, 228, 225),
0N/A new XColor("mistyrose", 255, 228, 225),
0N/A new XColor("mistyrose1", 255, 228, 225),
0N/A new XColor("mistyrose2", 238, 213, 210),
0N/A new XColor("mistyrose3", 205, 183, 181),
0N/A new XColor("mistyrose4", 139, 125, 123),
0N/A new XColor("moccasin", 255, 228, 181),
0N/A new XColor("navajo white", 255, 222, 173),
0N/A new XColor("navajowhite", 255, 222, 173),
0N/A new XColor("navajowhite1", 255, 222, 173),
0N/A new XColor("navajowhite2", 238, 207, 161),
0N/A new XColor("navajowhite3", 205, 179, 139),
0N/A new XColor("navajowhite4", 139, 121, 94),
0N/A new XColor("navy", 0, 0, 128),
0N/A new XColor("navy blue", 0, 0, 128),
0N/A new XColor("navyblue", 0, 0, 128),
0N/A new XColor("old lace", 253, 245, 230),
0N/A new XColor("oldlace", 253, 245, 230),
0N/A new XColor("olive drab", 107, 142, 35),
0N/A new XColor("olivedrab", 107, 142, 35),
0N/A new XColor("olivedrab1", 192, 255, 62),
0N/A new XColor("olivedrab2", 179, 238, 58),
0N/A new XColor("olivedrab3", 154, 205, 50),
0N/A new XColor("olivedrab4", 105, 139, 34),
0N/A new XColor("orange", 255, 165, 0),
0N/A new XColor("orange red", 255, 69, 0),
0N/A new XColor("orange1", 255, 165, 0),
0N/A new XColor("orange2", 238, 154, 0),
0N/A new XColor("orange3", 205, 133, 0),
0N/A new XColor("orange4", 139, 90, 0),
0N/A new XColor("orangered", 255, 69, 0),
0N/A new XColor("orangered1", 255, 69, 0),
0N/A new XColor("orangered2", 238, 64, 0),
0N/A new XColor("orangered3", 205, 55, 0),
0N/A new XColor("orangered4", 139, 37, 0),
0N/A new XColor("orchid", 218, 112, 214),
0N/A new XColor("orchid1", 255, 131, 250),
0N/A new XColor("orchid2", 238, 122, 233),
0N/A new XColor("orchid3", 205, 105, 201),
0N/A new XColor("orchid4", 139, 71, 137),
0N/A new XColor("pale goldenrod", 238, 232, 170),
0N/A new XColor("pale green", 152, 251, 152),
0N/A new XColor("pale turquoise", 175, 238, 238),
0N/A new XColor("pale violet red", 219, 112, 147),
0N/A new XColor("palegoldenrod", 238, 232, 170),
0N/A new XColor("palegreen", 152, 251, 152),
0N/A new XColor("palegreen1", 154, 255, 154),
0N/A new XColor("palegreen2", 144, 238, 144),
0N/A new XColor("palegreen3", 124, 205, 124),
0N/A new XColor("palegreen4", 84, 139, 84),
0N/A new XColor("paleturquoise", 175, 238, 238),
0N/A new XColor("paleturquoise1", 187, 255, 255),
0N/A new XColor("paleturquoise2", 174, 238, 238),
0N/A new XColor("paleturquoise3", 150, 205, 205),
0N/A new XColor("paleturquoise4", 102, 139, 139),
0N/A new XColor("palevioletred", 219, 112, 147),
0N/A new XColor("palevioletred1", 255, 130, 171),
0N/A new XColor("palevioletred2", 238, 121, 159),
0N/A new XColor("palevioletred3", 205, 104, 137),
0N/A new XColor("palevioletred4", 139, 71, 93),
0N/A new XColor("papaya whip", 255, 239, 213),
0N/A new XColor("papayawhip", 255, 239, 213),
0N/A new XColor("peach puff", 255, 218, 185),
0N/A new XColor("peachpuff", 255, 218, 185),
0N/A new XColor("peachpuff1", 255, 218, 185),
0N/A new XColor("peachpuff2", 238, 203, 173),
0N/A new XColor("peachpuff3", 205, 175, 149),
0N/A new XColor("peachpuff4", 139, 119, 101),
0N/A new XColor("peru", 205, 133, 63),
0N/A new XColor("pink", 255, 192, 203),
0N/A new XColor("pink1", 255, 181, 197),
0N/A new XColor("pink2", 238, 169, 184),
0N/A new XColor("pink3", 205, 145, 158),
0N/A new XColor("pink4", 139, 99, 108),
0N/A new XColor("plum", 221, 160, 221),
0N/A new XColor("plum1", 255, 187, 255),
0N/A new XColor("plum2", 238, 174, 238),
0N/A new XColor("plum3", 205, 150, 205),
0N/A new XColor("plum4", 139, 102, 139),
0N/A new XColor("powder blue", 176, 224, 230),
0N/A new XColor("powderblue", 176, 224, 230),
0N/A new XColor("purple", 160, 32, 240),
0N/A new XColor("purple1", 155, 48, 255),
0N/A new XColor("purple2", 145, 44, 238),
0N/A new XColor("purple3", 125, 38, 205),
0N/A new XColor("purple4", 85, 26, 139),
0N/A new XColor("red", 255, 0, 0),
0N/A new XColor("red1", 255, 0, 0),
0N/A new XColor("red2", 238, 0, 0),
0N/A new XColor("red3", 205, 0, 0),
0N/A new XColor("red4", 139, 0, 0),
0N/A new XColor("rosy brown", 188, 143, 143),
0N/A new XColor("rosybrown", 188, 143, 143),
0N/A new XColor("rosybrown1", 255, 193, 193),
0N/A new XColor("rosybrown2", 238, 180, 180),
0N/A new XColor("rosybrown3", 205, 155, 155),
0N/A new XColor("rosybrown4", 139, 105, 105),
0N/A new XColor("royal blue", 65, 105, 225),
0N/A new XColor("royalblue", 65, 105, 225),
0N/A new XColor("royalblue1", 72, 118, 255),
0N/A new XColor("royalblue2", 67, 110, 238),
0N/A new XColor("royalblue3", 58, 95, 205),
0N/A new XColor("royalblue4", 39, 64, 139),
0N/A new XColor("saddle brown", 139, 69, 19),
0N/A new XColor("saddlebrown", 139, 69, 19),
0N/A new XColor("salmon", 250, 128, 114),
0N/A new XColor("salmon1", 255, 140, 105),
0N/A new XColor("salmon2", 238, 130, 98),
0N/A new XColor("salmon3", 205, 112, 84),
0N/A new XColor("salmon4", 139, 76, 57),
0N/A new XColor("sandy brown", 244, 164, 96),
0N/A new XColor("sandybrown", 244, 164, 96),
0N/A new XColor("sea green", 46, 139, 87),
0N/A new XColor("seagreen", 46, 139, 87),
0N/A new XColor("seagreen1", 84, 255, 159),
0N/A new XColor("seagreen2", 78, 238, 148),
0N/A new XColor("seagreen3", 67, 205, 128),
0N/A new XColor("seagreen4", 46, 139, 87),
0N/A new XColor("seashell", 255, 245, 238),
0N/A new XColor("seashell1", 255, 245, 238),
0N/A new XColor("seashell2", 238, 229, 222),
0N/A new XColor("seashell3", 205, 197, 191),
0N/A new XColor("seashell4", 139, 134, 130),
0N/A new XColor("sienna", 160, 82, 45),
0N/A new XColor("sienna1", 255, 130, 71),
0N/A new XColor("sienna2", 238, 121, 66),
0N/A new XColor("sienna3", 205, 104, 57),
0N/A new XColor("sienna4", 139, 71, 38),
0N/A new XColor("sky blue", 135, 206, 235),
0N/A new XColor("skyblue", 135, 206, 235),
0N/A new XColor("skyblue1", 135, 206, 255),
0N/A new XColor("skyblue2", 126, 192, 238),
0N/A new XColor("skyblue3", 108, 166, 205),
0N/A new XColor("skyblue4", 74, 112, 139),
0N/A new XColor("slate blue", 106, 90, 205),
0N/A new XColor("slate gray", 112, 128, 144),
0N/A new XColor("slate grey", 112, 128, 144),
0N/A new XColor("slateblue", 106, 90, 205),
0N/A new XColor("slateblue1", 131, 111, 255),
0N/A new XColor("slateblue2", 122, 103, 238),
0N/A new XColor("slateblue3", 105, 89, 205),
0N/A new XColor("slateblue4", 71, 60, 139),
0N/A new XColor("slategray", 112, 128, 144),
0N/A new XColor("slategray1", 198, 226, 255),
0N/A new XColor("slategray2", 185, 211, 238),
0N/A new XColor("slategray3", 159, 182, 205),
0N/A new XColor("slategray4", 108, 123, 139),
0N/A new XColor("slategrey", 112, 128, 144),
0N/A new XColor("snow", 255, 250, 250),
0N/A new XColor("snow1", 255, 250, 250),
0N/A new XColor("snow2", 238, 233, 233),
0N/A new XColor("snow3", 205, 201, 201),
0N/A new XColor("snow4", 139, 137, 137),
0N/A new XColor("spring green", 0, 255, 127),
0N/A new XColor("springgreen", 0, 255, 127),
0N/A new XColor("springgreen1", 0, 255, 127),
0N/A new XColor("springgreen2", 0, 238, 118),
0N/A new XColor("springgreen3", 0, 205, 102),
0N/A new XColor("springgreen4", 0, 139, 69),
0N/A new XColor("steel blue", 70, 130, 180),
0N/A new XColor("steelblue", 70, 130, 180),
0N/A new XColor("steelblue1", 99, 184, 255),
0N/A new XColor("steelblue2", 92, 172, 238),
0N/A new XColor("steelblue3", 79, 148, 205),
0N/A new XColor("steelblue4", 54, 100, 139),
0N/A new XColor("tan", 210, 180, 140),
0N/A new XColor("tan1", 255, 165, 79),
0N/A new XColor("tan2", 238, 154, 73),
0N/A new XColor("tan3", 205, 133, 63),
0N/A new XColor("tan4", 139, 90, 43),
0N/A new XColor("thistle", 216, 191, 216),
0N/A new XColor("thistle1", 255, 225, 255),
0N/A new XColor("thistle2", 238, 210, 238),
0N/A new XColor("thistle3", 205, 181, 205),
0N/A new XColor("thistle4", 139, 123, 139),
0N/A new XColor("tomato", 255, 99, 71),
0N/A new XColor("tomato1", 255, 99, 71),
0N/A new XColor("tomato2", 238, 92, 66),
0N/A new XColor("tomato3", 205, 79, 57),
0N/A new XColor("tomato4", 139, 54, 38),
0N/A new XColor("turquoise", 64, 224, 208),
0N/A new XColor("turquoise1", 0, 245, 255),
0N/A new XColor("turquoise2", 0, 229, 238),
0N/A new XColor("turquoise3", 0, 197, 205),
0N/A new XColor("turquoise4", 0, 134, 139),
0N/A new XColor("violet", 238, 130, 238),
0N/A new XColor("violet red", 208, 32, 144),
0N/A new XColor("violetred", 208, 32, 144),
0N/A new XColor("violetred1", 255, 62, 150),
0N/A new XColor("violetred2", 238, 58, 140),
0N/A new XColor("violetred3", 205, 50, 120),
0N/A new XColor("violetred4", 139, 34, 82),
0N/A new XColor("wheat", 245, 222, 179),
0N/A new XColor("wheat1", 255, 231, 186),
0N/A new XColor("wheat2", 238, 216, 174),
0N/A new XColor("wheat3", 205, 186, 150),
0N/A new XColor("wheat4", 139, 126, 102),
0N/A new XColor("white", 255, 255, 255),
0N/A new XColor("white smoke", 245, 245, 245),
0N/A new XColor("whitesmoke", 245, 245, 245),
0N/A new XColor("yellow", 255, 255, 0),
0N/A new XColor("yellow green", 154, 205, 50),
0N/A new XColor("yellow1", 255, 255, 0),
0N/A new XColor("yellow2", 238, 238, 0),
0N/A new XColor("yellow3", 205, 205, 0),
0N/A new XColor("yellow4", 139, 139, 0),
0N/A new XColor("yellowgreen", 154, 205, 5)
0N/A };
0N/A
0N/A}