001/** 002 * Colors -- A collection of static named Color instances. 003 * 004 * Copyright (C) 2012-2015, by Joseph A. Huwaldt. All rights reserved. 005 * 006 * This library is free software; you can redistribute it and/or modify it under the terms 007 * of the GNU Lesser General Public License as published by the Free Software Foundation; 008 * either version 2.1 of the License, or (at your option) any later version. 009 * 010* This library is distributed in the hope that it will be useful, but WITHOUT ANY 011 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 012 * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. 013 * 014 * You should have received a copy of the GNU Lesser General Public License along with 015 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - 016 * Suite 330, Boston, MA 02111-1307, USA. Or visit: http://www.gnu.org/licenses/lgpl.html 017 */ 018package geomss.ui; 019 020import java.awt.Color; 021 022/** 023 * A collection of Color constants with creative names. Some of the names are standard 024 * (and those with the same names as in the java.awt.Color class are identical to those) 025 * and some are completely arbitrary and amount to what I thought were good names for 026 * those colors. 027 * 028 * <p> Modified by: Joseph A. Huwaldt </p> 029 * 030 * @author Joseph A. Huwaldt, Date: April 17, 2012 031 * @version October 13, 2015 032 */ 033public class Colors { 034 035 /** 036 * The color pure black. 037 */ 038 public static final Color BLACK = Color.BLACK; 039 040 /** 041 * The color pure blue. 042 */ 043 public static final Color BLUE = Color.BLUE; 044 045 /** 046 * The color cyan. 047 */ 048 public static final Color CYAN = Color.CYAN; 049 050 /** 051 * The color dark gray. 052 */ 053 public static final Color DARK_GRAY = Color.DARK_GRAY; 054 055 /** 056 * The color medium gray. 057 */ 058 public static final Color GRAY = Color.GRAY; 059 060 /** 061 * The color pure green. 062 */ 063 public static final Color GREEN = Color.GREEN; 064 065 /** 066 * The color light gray. 067 */ 068 public static final Color LIGHT_GRAY = Color.LIGHT_GRAY; 069 070 /** 071 * The color magenta. 072 */ 073 public static final Color MAGENTA = Color.MAGENTA; 074 075 /** 076 * The color orange. 077 */ 078 public static final Color ORANGE = Color.ORANGE; 079 080 /** 081 * The color pink. 082 */ 083 public static final Color PINK = Color.PINK; 084 085 /** 086 * The color pure red. 087 */ 088 public static final Color RED = Color.RED; 089 090 /** 091 * The color pure white. 092 */ 093 public static final Color WHITE = Color.WHITE; 094 095 /** 096 * The color yellow. 097 */ 098 public static final Color YELLOW = Color.YELLOW; 099 100 /** 101 * The orangish color of a cantaloupe melon. 102 */ 103 public static final Color CANTALOUPE = new Color(255, 204, 102); 104 105 /** 106 * The yellow-greenish color of a honeydew melon. 107 */ 108 public static final Color HONEYDEW = new Color(204, 255, 102); 109 110 /** 111 * The blue-green color spindrift. 112 */ 113 public static final Color SPINDRIFT = new Color(102, 255, 204); 114 115 /** 116 * The light blue color of the sky. 117 */ 118 public static final Color SKY = new Color(102, 204, 255); 119 120 /** 121 * The light purple color lavender. 122 */ 123 public static final Color LAVENDER = new Color(204, 102, 255); 124 125 /** 126 * The pink color of a carnation. 127 */ 128 public static final Color CARNATION = new Color(255, 111, 207); 129 130 /** 131 * The red-orangish color of a salmon. 132 */ 133 public static final Color SALMON = new Color(255, 102, 102); 134 135 /** 136 * The yellowish color of a banana. 137 */ 138 public static final Color BANANA = new Color(255, 255, 102); 139 140 /** 141 * The light green color of new leaves. 142 */ 143 public static final Color FLORA = new Color(102, 255, 102); 144 145 /** 146 * The light blue color of ice. 147 */ 148 public static final Color ICE = new Color(102, 255, 255); 149 150 /** 151 * The violet color of an orchid. 152 */ 153 public static final Color ORCHID = new Color(102, 102, 255); 154 155 /** 156 * The violet-pink color of bubble gum. 157 */ 158 public static final Color BUBBLEGUM = new Color(255, 102, 255); 159 160 /** 161 * The dark orange color of a tangerine. 162 */ 163 public static final Color TANGERINE = new Color(255, 128, 0); 164 165 /** 166 * The bright green color of a lime. 167 */ 168 public static final Color LIME = new Color(128, 255, 0); 169 170 /** 171 * The blue-green color sea foam. 172 */ 173 public static final Color SEAFOAM = new Color(0, 255, 128); 174 175 /** 176 * The blue color the sky reflected in water. 177 */ 178 public static final Color AQUA = new Color(0, 128, 255); 179 180 /** 181 * The dark purple color of grapes. 182 */ 183 public static final Color GRAPE = new Color(128, 0, 255); 184 185 /** 186 * The hot pink color of strawberries. 187 */ 188 public static final Color STRAWBERRY = new Color(255, 0, 128); 189 190 /** 191 * The light blue color of turquoise. 192 */ 193 public static final Color TURQUOISE = new Color(0, 255, 255); 194 195 /** 196 * The brown color of chocolate or coffee. 197 */ 198 public static final Color MOCHA = new Color(128, 64, 0); 199 200 /** 201 * The medium green color of a fern. 202 */ 203 public static final Color FERN = new Color(64, 128, 0); 204 205 /** 206 * The blue-green color of moss. 207 */ 208 public static final Color MOSS = new Color(0, 128, 64); 209 210 /** 211 * The dark blue color of the ocean. 212 */ 213 public static final Color OCEAN = new Color(0, 64, 128); 214 215 /** 216 * The dark purple color of an eggplant. 217 */ 218 public static final Color EGGPLANT = new Color(64, 0, 128); 219 220 /** 221 * The bluish-red color of maroon. 222 */ 223 public static final Color MAROON = new Color(128, 0, 64); 224 225 /** 226 * The medium red color of cayenne peppers. 227 */ 228 public static final Color CAYENNE = new Color(128, 0, 0); 229 230 /** 231 * The drab green color of green olives. 232 */ 233 public static final Color OLIVE = new Color(128, 128, 0); 234 235 /** 236 * The rich green color of clover leaves. 237 */ 238 public static final Color CLOVER = new Color(0, 128, 0); 239 240 /** 241 * The blue-green color teal. 242 */ 243 public static final Color TEAL = new Color(0, 128, 128); 244 245 /** 246 * The dark blue color of midnight blue. 247 */ 248 public static final Color MIDNIGHT = new Color(0, 0, 128); 249 250 /** 251 * The dark violet color of plums. 252 */ 253 public static final Color PLUM = new Color(128, 0, 128); 254 255 /** 256 * The color of cows cream (http://en.wikipedia.org/wiki/Cream_(colour)). 257 */ 258 public static final Color CREAM = new Color(255, 253, 208); 259 260 /** 261 * The color vanilla is a rich tint of off-white as well as a medium pale tint of 262 * yellow. http://en.wikipedia.org/wiki/Vanilla_(color) 263 */ 264 public static final Color VANILLA = new Color(243, 229, 171); 265 266}