// 色ライブラリ // 1998 N.Inoue import java.awt.Color; public final class QuickColor { public static final Color aliceblue = new Color(240, 248, 255); public static final Color antiquewhite = new Color(250, 235, 215); public static final Color aqua = new Color(0 , 255, 255); public static final Color aquamarine = new Color(127, 255, 212); public static final Color azure = new Color(240, 255, 255); public static final Color beige = new Color(245, 245, 220); public static final Color bisque = new Color(255, 228, 196); public static final Color black = new Color(0 , 0 , 0 ); public static final Color blanchedalmond = new Color(255, 235, 205); public static final Color blue = new Color(0 , 0 , 255); public static final Color blueviolet = new Color(138, 43 , 226); public static final Color brown = new Color(165, 42 , 42 ); public static final Color burlywood = new Color(222, 184, 135); public static final Color cadetblue = new Color(95 , 158, 160); public static final Color chartreuse = new Color(127, 255, 0 ); public static final Color chocolate = new Color(210, 105, 30 ); public static final Color coral = new Color(255, 127, 80 ); public static final Color cornflowerblue = new Color(100, 149, 237); public static final Color cornsilk = new Color(255, 248, 220); public static final Color crimson = new Color(220, 20 , 60 ); public static final Color cyan = new Color(0 , 255, 255); public static final Color darkblue = new Color(0 , 0 , 139); public static final Color darkcyan = new Color(0 , 139, 139); public static final Color darkgoldenrod = new Color(184, 134, 11 ); public static final Color darkgray = new Color(169, 169, 169); public static final Color darkgreen = new Color(0 , 100, 0 ); public static final Color darkkhaki = new Color(189, 183, 107); public static final Color darkmagenta = new Color(139, 0 , 139); public static final Color darkolivegreen = new Color(85 , 107, 47 ); public static final Color darkorange = new Color(255, 140, 0 ); public static final Color darkorchid = new Color(153, 50 , 204); public static final Color darkred = new Color(139, 0 , 0 ); public static final Color darksalmon = new Color(233, 150, 122); public static final Color darkseagreen = new Color(143, 188, 143); public static final Color darkslateblue = new Color(72 , 61 , 139); public static final Color darkslategray = new Color(47 , 79 , 79 ); public static final Color darkturquoise = new Color(0 , 206, 209); public static final Color darkviolet = new Color(148, 0 , 211); public static final Color deeppink = new Color(255, 20 , 147); public static final Color deepskyblue = new Color(0 , 191, 255); public static final Color dimgray = new Color(105, 105, 105); public static final Color dodgerblue = new Color(30 , 144, 255); public static final Color firebrick = new Color(178, 34 , 34 ); public static final Color floralwhite = new Color(255, 250, 240); public static final Color forestgreen = new Color(34 , 139, 34 ); public static final Color fuchsia = new Color(255, 0 , 255); public static final Color gainsboro = new Color(220, 220, 220); public static final Color ghostwhite = new Color(248, 248, 255); public static final Color gold = new Color(255, 215, 0 ); public static final Color goldenrod = new Color(218, 165, 32 ); public static final Color gray = new Color(128, 128, 128); public static final Color green = new Color(0 , 128, 0 ); public static final Color greenyellow = new Color(173, 255, 47 ); public static final Color honeydew = new Color(240, 255, 240); public static final Color hotpink = new Color(255, 105, 180); public static final Color indianred = new Color(205, 92 , 92 ); public static final Color indigo = new Color(75 , 0 , 130); public static final Color ivory = new Color(255, 255, 240); public static final Color khaki = new Color(240, 230, 140); public static final Color lavender = new Color(230, 230, 250); public static final Color lavenderblush = new Color(255, 240, 245); public static final Color lawngreen = new Color(124, 252, 0 ); public static final Color lemonchiffon = new Color(255, 250, 205); public static final Color lightblue = new Color(173, 216, 230); public static final Color lightcoral = new Color(240, 128, 128); public static final Color lightcyan = new Color(224, 255, 255); public static final Color lightgoldenrodyellow= new Color(250, 250, 210); public static final Color lightgreen = new Color(144, 238, 144); public static final Color lightgrey = new Color(211, 211, 211); public static final Color lightpink = new Color(255, 182, 193); public static final Color lightsalmon = new Color(255, 160, 122); public static final Color lightseagreen = new Color(32 , 178, 170); public static final Color lightskyblue = new Color(135, 206, 250); public static final Color lightslategray = new Color(119, 136, 153); public static final Color lightsteelblue = new Color(176, 196, 222); public static final Color lightyellow = new Color(255, 255, 224); public static final Color lime = new Color(0 , 255, 0 ); public static final Color limegreen = new Color(50 , 205, 50 ); public static final Color linen = new Color(250, 240, 230); public static final Color magenta = new Color(255, 0 , 255); public static final Color maroon = new Color(128, 0 , 0 ); public static final Color mediumaquamarine = new Color(102, 205, 170); public static final Color mediumblue = new Color(0 , 0 , 205); public static final Color mediumorchid = new Color(186, 85 , 211); public static final Color mediumpurple = new Color(147, 112, 219); public static final Color mediumseagreen = new Color(60 , 179, 113); public static final Color mediumslateblue = new Color(123, 104, 238); public static final Color mediumspringgreen = new Color(0 , 250, 154); public static final Color mediumturquoise = new Color(72 , 209, 204); public static final Color mediumvioletred = new Color(199, 21 , 133); public static final Color midnightblue = new Color(25 , 25 , 112); public static final Color mintcream = new Color(245, 255, 250); public static final Color mistyrose = new Color(255, 228, 225); public static final Color moccasin = new Color(255, 228, 181); public static final Color navajowhite = new Color(255, 222, 173); public static final Color navy = new Color(0 , 0 , 128); public static final Color oldlace = new Color(253, 245, 230); public static final Color olive = new Color(128, 128, 0 ); public static final Color olivedrab = new Color(107, 142, 35 ); public static final Color orange = new Color(255, 165, 0 ); public static final Color orangered = new Color(255, 69 , 0 ); public static final Color orchid = new Color(218, 112, 214); public static final Color palegoldenrod = new Color(238, 232, 170); public static final Color palegreen = new Color(152, 251, 152); public static final Color paleturquoise = new Color(175, 238, 238); public static final Color palevioletred = new Color(219, 112, 147); public static final Color papayawhip = new Color(255, 239, 213); public static final Color peachpuff = new Color(255, 218, 185); public static final Color peru = new Color(205, 133, 63 ); public static final Color pink = new Color(255, 192, 203); public static final Color plum = new Color(221, 160, 221); public static final Color powderblue = new Color(176, 224, 230); public static final Color purple = new Color(128, 0 , 128); public static final Color red = new Color(255, 0 , 0 ); public static final Color rosybrown = new Color(188, 143, 143); public static final Color royalblue = new Color(65 , 105, 225); public static final Color saddlebrown = new Color(139, 69 , 19 ); public static final Color salmon = new Color(250, 128, 114); public static final Color sandybrown = new Color(244, 164, 96 ); public static final Color seagreen = new Color(46 , 139, 87 ); public static final Color seashell = new Color(255, 245, 238); public static final Color sienna = new Color(160, 82 , 45 ); public static final Color silver = new Color(192, 192, 192); public static final Color skyblue = new Color(135, 206, 235); public static final Color slateblue = new Color(106, 90 , 205); public static final Color slategray = new Color(112, 128, 144); public static final Color snow = new Color(255, 250, 250); public static final Color springgreen = new Color(0 , 255, 127); public static final Color steelblue = new Color(70 , 130, 180); public static final Color tan = new Color(210, 180, 140); public static final Color teal = new Color(0 , 128, 128); public static final Color thistle = new Color(216, 191, 216); public static final Color tomato = new Color(255, 99 , 71 ); public static final Color turquoise = new Color(64 , 224, 208); public static final Color violet = new Color(238, 130, 238); public static final Color wheat = new Color(245, 222, 179); public static final Color white = new Color(255, 255, 255); public static final Color whitesmoke = new Color(245, 245, 245); public static final Color yellow = new Color(255, 255, 0 ); public static final Color yellowgreen = new Color(154, 205, 50 ); /* 色を色名で返す(未使用)(未コンパイル) public static String toString(Color c) { if(c == aliceblue ) return "aliceblue"; else if(c == antiquewhite ) return "antiquewhite"; else if(c == aqua ) return "aqua"; else if(c == aquamarine ) return "aquamarine"; else if(c == azure ) return "azure"; else if(c == beige ) return "beige"; else if(c == bisque ) return "bisque"; else if(c == black ) return "black"; else if(c == blanchedalmond ) return "blanchedalmond"; else if(c == blue ) return "blue"; else if(c == blueviolet ) return "blueviolet"; else if(c == brown ) return "brown"; else if(c == burlywood ) return "burlywood"; else if(c == cadetblue ) return "cadetblue"; else if(c == chartreuse ) return "chartreuse"; else if(c == chocolate ) return "chocolate"; else if(c == coral ) return "coral"; else if(c == cornflowerblue ) return "cornflowerblue"; else if(c == cornsilk ) return "cornsilk"; else if(c == crimson ) return "crimson"; else if(c == cyan ) return "cyan"; else if(c == darkblue ) return "darkblue"; else if(c == darkcyan ) return "darkcyan"; else if(c == darkgoldenrod ) return "darkgoldenrod"; else if(c == darkgray ) return "darkgray"; else if(c == darkgreen ) return "darkgreen"; else if(c == darkkhaki ) return "darkkhaki"; else if(c == darkmagenta ) return "darkmagenta"; else if(c == darkolivegreen ) return "darkolivegreen"; else if(c == darkorange ) return "darkorange"; else if(c == darkorchid ) return "darkorchid"; else if(c == darkred ) return "darkred"; else if(c == darksalmon ) return "darksalmon"; else if(c == darkseagreen ) return "darkseagreen"; else if(c == darkslateblue ) return "darkslateblue"; else if(c == darkslategray ) return "darkslategray"; else if(c == darkturquoise ) return "darkturquoise"; else if(c == darkviolet ) return "darkviolet"; else if(c == deeppink ) return "deeppink"; else if(c == deepskyblue ) return "deepskyblue"; else if(c == dimgray ) return "dimgray"; else if(c == dodgerblue ) return "dodgerblue"; else if(c == firebrick ) return "firebrick"; else if(c == floralwhite ) return "floralwhite"; else if(c == forestgreen ) return "forestgreen"; else if(c == fuchsia ) return "fuchsia"; else if(c == gainsboro ) return "gainsboro"; else if(c == ghostwhite ) return "ghostwhite"; else if(c == gold ) return "gold"; else if(c == goldenrod ) return "goldenrod"; else if(c == gray ) return "gray"; else if(c == green ) return "green"; else if(c == greenyellow ) return "greenyellow"; else if(c == honeydew ) return "honeydew"; else if(c == hotpink ) return "hotpink"; else if(c == indianred ) return "indianred"; else if(c == indigo ) return "indigo"; else if(c == ivory ) return "ivory"; else if(c == khaki ) return "khaki"; else if(c == lavender ) return "lavender"; else if(c == lavenderblush ) return "lavenderblush"; else if(c == lawngreen ) return "lawngreen"; else if(c == lemonchiffon ) return "lemonchiffon"; else if(c == lightblue ) return "lightblue"; else if(c == lightcoral ) return "lightcoral"; else if(c == lightcyan ) return "lightcyan"; else if(c == lightgoldenrodyellow) return "lightgoldenrodyellow"; else if(c == lightgrey ) return "lightgrey"; else if(c == lightpink ) return "lightpink"; else if(c == lightsalmon ) return "lightsalmon"; else if(c == lightseagreen ) return "lightseagreen"; else if(c == lightskyblue ) return "lightskyblue"; else if(c == lightslategray ) return "lightslategray"; else if(c == lightsteelblue ) return "lightsteelblue"; else if(c == lightyellow ) return "lightyellow"; else if(c == lime ) return "lime"; else if(c == limegreen ) return "limegreen"; else if(c == linen ) return "linen"; else if(c == magenta ) return "magenta"; else if(c == maroon ) return "maroon"; else if(c == mediumaquamarine ) return "mediumaquamarine"; else if(c == mediumorchid ) return "mediumorchid"; else if(c == mediumpurple ) return "mediumpurple"; else if(c == mediumseagreen ) return "mediumseagreen"; else if(c == mediumslateblue ) return "mediumslateblue"; else if(c == mediumspringgreen ) return "mediumspringgreen"; else if(c == mediumvioletred ) return "mediumvioletred"; else if(c == midnightblue ) return "midnightblue"; else if(c == mintcream ) return "mintcream"; else if(c == mistyrose ) return "mistyrose"; else if(c == moccasin ) return "moccasin"; else if(c == navajowhite ) return "navajowhite"; else if(c == navy ) return "navy"; else if(c == oldlace ) return "oldlace"; else if(c == olive ) return "olive"; else if(c == olivedrab ) return "olivedrab"; else if(c == orange ) return "orange"; else if(c == orangered ) return "orangered"; else if(c == orchid ) return "orchid"; else if(c == palegoldenrod ) return "palegoldenrod"; else if(c == palegreen ) return "palegreen"; else if(c == paleturquoise ) return "paleturquoise"; else if(c == palevioletred ) return "palevioletred"; else if(c == papayawhip ) return "papayawhip"; else if(c == peachpuff ) return "peachpuff"; else if(c == peru ) return "peru"; else if(c == pink ) return "pink"; else if(c == plum ) return "plum"; else if(c == powderblue ) return "powderblue"; else if(c == purple ) return "purple"; else if(c == red ) return "red"; else if(c == rosybrown ) return "rosybrown"; else if(c == royalblue ) return "royalblue"; else if(c == saddlebrown ) return "saddlebrown"; else if(c == salmon ) return "salmon"; else if(c == sandybrown ) return "sandybrown"; else if(c == seagreen ) return "seagreen"; else if(c == seashell ) return "seashell"; else if(c == sienna ) return "sienna"; else if(c == silver ) return "silver"; else if(c == skyblue ) return "skyblue"; else if(c == slateblue ) return "slateblue"; else if(c == slategray ) return "slategray"; else if(c == snow ) return "snow"; else if(c == springgreen ) return "springgreen"; else if(c == steelblue ) return "steelblue"; else if(c == tan ) return "tan"; else if(c == teal ) return "teal"; else if(c == thistle ) return "thistle"; else if(c == tomato ) return "tomato"; else if(c == turquoise ) return "turquoise"; else if(c == violet ) return "violet"; else if(c == wheat ) return "wheat"; else if(c == white ) return "white"; else if(c == whitesmoke ) return "whitesmoke"; else if(c == yellow ) return "yellow"; else if(c == yellowgreen ) return "yellowgreen"; return "unknown"; } */ }