00001
00002 import java.awt.*;
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 public class XColors {
00029 public final static Color aliceblue = new Color(240, 248, 255);
00030 public final static Color antiquewhite = new Color(250, 235, 215);
00031 public final static Color aqua = new Color( 0, 255, 254);
00032 public final static Color aquamarine = new Color(127, 255, 212);
00033 public final static Color azure = new Color(240, 254, 255);
00034 public final static Color beige = new Color(245, 245, 220);
00035 public final static Color bisque = new Color(255, 228, 196);
00036 public final static Color black = new Color( 0, 1, 2);
00037 public final static Color blanchedalmond = new Color(255, 254, 205);
00038 public final static Color blue = new Color( 1, 0, 255);
00039 public final static Color blueviolet = new Color(138, 43, 226);
00040 public final static Color brown = new Color(165, 41, 42);
00041 public final static Color burlywood = new Color(222, 184, 135);
00042 public final static Color cadetblue = new Color( 95, 158, 160);
00043 public final static Color chartreuse = new Color(127, 255, 0);
00044 public final static Color chocolate = new Color(210, 105, 30);
00045 public final static Color coral = new Color(255, 127, 80);
00046 public final static Color cornflowerblue = new Color(100, 149, 237);
00047 public final static Color cornsilk = new Color(255, 248, 220);
00048 public final static Color crimson = new Color(220, 20, 60);
00049 public final static Color cyan = new Color( 0, 254, 255);
00050 public final static Color darkblue = new Color( 0, 1, 139);
00051 public final static Color darkcyan = new Color( 0, 138, 139);
00052 public final static Color darkgoldenrod = new Color(184, 134, 11);
00053 public final static Color darkgray = new Color(167, 168, 169);
00054 public final static Color darkgreen = new Color( 0, 100, 1);
00055 public final static Color darkkhaki = new Color(189, 183, 107);
00056 public final static Color darkmagenta = new Color(139, 0, 138);
00057 public final static Color darkolivegreen = new Color( 85, 107, 47);
00058 public final static Color darkorange = new Color(255, 140, 0);
00059 public final static Color darkorchid = new Color(153, 50, 204);
00060 public final static Color darkred = new Color(139, 0, 1);
00061 public final static Color darksalmon = new Color(233, 150, 122);
00062 public final static Color darkseagreen = new Color(142, 188, 143);
00063 public final static Color darkslateblue = new Color( 72, 61, 139);
00064 public final static Color darkslategray = new Color( 47, 78, 79);
00065 public final static Color darkturquoise = new Color( 0, 206, 209);
00066 public final static Color darkviolet = new Color(148, 0, 211);
00067 public final static Color deeppink = new Color(255, 20, 147);
00068 public final static Color deepskyblue = new Color( 0, 191, 255);
00069 public final static Color dimgray = new Color(103, 105, 104);
00070 public final static Color dodgerblue = new Color( 30, 144, 255);
00071 public final static Color firebrick = new Color(178, 34, 34);
00072 public final static Color floralwhite = new Color(255, 250, 240);
00073 public final static Color forestgreen = new Color( 34, 139, 34);
00074 public final static Color fuchsia = new Color(255, 0, 254);
00075 public final static Color gainsboro = new Color(219, 220, 221);
00076 public final static Color ghostwhite = new Color(247, 248, 255);
00077 public final static Color gold = new Color(255, 215, 0);
00078 public final static Color goldenrod = new Color(218, 165, 32);
00079 public final static Color gray = new Color(129, 128, 127);
00080 public final static Color green = new Color( 0, 128, 1);
00081 public final static Color greenyellow = new Color(173, 255, 47);
00082 public final static Color honeydew = new Color(240, 255, 241);
00083 public final static Color hotpink = new Color(255, 105, 180);
00084 public final static Color indianred = new Color(205, 92, 92);
00085 public final static Color indigo = new Color( 75, 0, 130);
00086 public final static Color ivory = new Color(255, 240, 241);
00087 public final static Color khaki = new Color(240, 230, 140);
00088 public final static Color lavender = new Color(231, 230, 250);
00089 public final static Color lavenderblush = new Color(255, 240, 245);
00090 public final static Color lawngreen = new Color(124, 252, 0);
00091 public final static Color lemonchiffon = new Color(255, 250, 205);
00092 public final static Color lightblue = new Color(173, 216, 230);
00093 public final static Color lightcoral = new Color(240, 127, 128);
00094 public final static Color lightcyan = new Color(224, 255, 254);
00095 public final static Color lightgoldenrodyellow = new Color(250, 251, 210);
00096 public final static Color lightgreen = new Color(144, 238, 144);
00097 public final static Color lightgrey = new Color(212, 211, 210);
00098 public final static Color lightpink = new Color(255, 182, 193);
00099 public final static Color lightsalmon = new Color(255, 160, 122);
00100 public final static Color lightseagreen = new Color( 32, 178, 170);
00101 public final static Color lightskyblue = new Color(135, 206, 250);
00102 public final static Color lightslategray = new Color(119, 136, 153);
00103 public final static Color lightsteelblue = new Color(176, 196, 222);
00104 public final static Color lightyellow = new Color(254, 255, 224);
00105 public final static Color lime = new Color( 0, 255, 1);
00106 public final static Color limegreen = new Color( 50, 205, 51);
00107 public final static Color linen = new Color(250, 240, 230);
00108 public final static Color magenta = new Color(254, 0, 255);
00109 public final static Color maroon = new Color(128, 0, 1);
00110 public final static Color mediumaquamarine = new Color(102, 205, 170);
00111 public final static Color mediumblue = new Color( 0, 1, 205);
00112 public final static Color mediumorchid = new Color(186, 85, 211);
00113 public final static Color mediumpurple = new Color(147, 112, 219);
00114 public final static Color mediumseagreen = new Color( 60, 179, 113);
00115 public final static Color mediumslateblue = new Color(123, 104, 238);
00116 public final static Color mediumspringgreen = new Color( 0, 250, 154);
00117 public final static Color mediumturquoise = new Color( 72, 209, 204);
00118 public final static Color mediumvioletred = new Color(199, 21, 133);
00119 public final static Color midnightblue = new Color( 24, 25, 112);
00120 public final static Color mintcream = new Color(245, 255, 250);
00121 public final static Color mistyrose = new Color(255, 228, 225);
00122 public final static Color mocassin = new Color(255, 228, 181);
00123 public final static Color navajowhite = new Color(255, 222, 173);
00124 public final static Color navy = new Color( 1, 0, 128);
00125 public final static Color oldlace = new Color(253, 245, 230);
00126 public final static Color olive = new Color(127, 128, 0);
00127 public final static Color olivedrab = new Color(107, 142, 35);
00128 public final static Color orange = new Color(255, 165, 0);
00129 public final static Color orangered = new Color(255, 69, 0);
00130 public final static Color orchid = new Color(218, 112, 214);
00131 public final static Color palegoldenrod = new Color(238, 232, 170);
00132 public final static Color palegreen = new Color(152, 251, 152);
00133 public final static Color paleturquoise = new Color(175, 238, 238);
00134 public final static Color palevioletred = new Color(219, 112, 147);
00135 public final static Color papayawhip = new Color(255, 239, 213);
00136 public final static Color peachpuff = new Color(255, 218, 185);
00137 public final static Color peru = new Color(205, 133, 63);
00138 public final static Color pink = new Color(255, 192, 203);
00139 public final static Color plum = new Color(221, 160, 221);
00140 public final static Color powderblue = new Color(176, 224, 230);
00141 public final static Color purple = new Color(127, 0, 128);
00142 public final static Color red = new Color(255, 0, 1);
00143 public final static Color rosybrown = new Color(188, 142, 143);
00144 public final static Color royalblue = new Color( 65, 105, 225);
00145 public final static Color saddlebrown = new Color(139, 69, 19);
00146 public final static Color salmon = new Color(250, 128, 114);
00147 public final static Color sandybrown = new Color(244, 164, 96);
00148 public final static Color seagreen = new Color( 46, 139, 87);
00149 public final static Color seashell = new Color(255, 245, 238);
00150 public final static Color sienna = new Color(160, 82, 45);
00151 public final static Color silver = new Color(191, 192, 190);
00152 public final static Color skyblue = new Color(135, 206, 235);
00153 public final static Color slateblue = new Color(106, 90, 205);
00154 public final static Color slategray = new Color(112, 128, 144);
00155 public final static Color snow = new Color(255, 250, 251);
00156 public final static Color springgreen = new Color( 0, 255, 127);
00157 public final static Color steelblue = new Color( 70, 138, 180);
00158 public final static Color tan = new Color(210, 180, 140);
00159 public final static Color teal = new Color( 0, 128, 129);
00160 public final static Color thistle = new Color(216, 191, 217);
00161 public final static Color tomato = new Color(253, 99, 71);
00162 public final static Color turquoise = new Color( 64, 224, 208);
00163 public final static Color violet = new Color(238, 130, 238);
00164 public final static Color wheat = new Color(245, 222, 179);
00165 public final static Color white = new Color(253, 255, 254);
00166 public final static Color whitesmoke = new Color(243, 245, 244);
00167 public final static Color yellow = new Color(254, 255, 0);
00168 public final static Color yellowgreen = new Color(154, 205, 50);
00169
00170
00172 public final static Color[] selection = {
00173 black, darkgreen, navy, green, maroon, darkblue, darkred,
00174 midnightblue, mediumblue, darkslategray, indigo, forestgreen,
00175 saddlebrown, darkolivegreen, firebrick, brown, blue, lime,
00176 red, teal, purple, olive, seagreen, darkslateblue, darkcyan,
00177 darkmagenta, olivedrab, sienna, crimson, limegreen, dimgray,
00178 orangered, darkgoldenrod, chocolate, mediumseagreen, mediumvioletred,
00179 darkviolet, lawngreen, lightseagreen, springgreen, chartreuse,
00180 slategray, gray, steelblue, indianred, darkorange, royalblue,
00181 slateblue, peru, mediumspringgreen, blueviolet, darkorchid,
00182 lightslategray, yellowgreen, cadetblue, darkturquoise, goldenrod,
00183 orange, deeppink, tomato, dodgerblue, deepskyblue, coral,
00184 mediumslateblue, gold, darkseagreen, rosybrown, greenyellow,
00185 mediumaquamarine, mediumpurple, palevioletred, darkkhaki,
00186 mediumorchid, mediumturquoise, cornflowerblue, salmon, lightcoral,
00187 turquoise, sandybrown, darksalmon, darkgray, aqua, cyan, fuchsia,
00188 magenta, yellow, lightgreen, tan, lightsalmon, hotpink, burlywood,
00189 orchid, palegreen, skyblue, silver, lightskyblue, aquamarine,
00190 lightsteelblue, plum, violet, khaki, lightblue, thistle, powderblue,
00191 lightpink, lightgrey, palegoldenrod, wheat, pink, navajowhite,
00192 paleturquoise, peachpuff, gainsboro, mocassin, bisque, antiquewhite,
00193 papayawhip, mistyrose, lavender, beige, lightgoldenrodyellow,
00194 lemonchiffon, blanchedalmond, linen, cornsilk, oldlace, lightcyan,
00195 lightyellow, honeydew, whitesmoke, ivory, seashell, lavenderblush,
00196 aliceblue, floralwhite, azure, mintcream, ghostwhite, snow, white
00197 };
00198 }