HTML color names table
The HTML color names are provided by an enumeration, HtmlColor.
Here an example how to use it:
// sets default color
Defaults.get().getGlobal().setColor(HtmlColor.WHITE);
Name | Hex | RGB | Color |
---|---|---|---|
ALICE_BLUE | #f0f8ff | rgb(240,248,255) | |
ANTIQUE_WHITE | #faebd7 | rgb(250,235,215) | |
AQUA | #00ffff | rgb(0,255,255) | |
AQUAMARINE | #7fffd4 | rgb(127,255,212) | |
AZURE | #f0ffff | rgb(240,255,255) | |
BEIGE | #f5f5dc | rgb(245,245,220) | |
BISQUE | #ffe4c4 | rgb(255,228,196) | |
BLACK | #000000 | rgb(0,0,0) | |
BLANCHED_ALMOND | #ffebcd | rgb(255,235,205) | |
BLUE | #0000ff | rgb(0,0,255) | |
BLUE_VIOLET | #8a2be2 | rgb(138,43,226) | |
BROWN | #a52a2a | rgb(165,42,42) | |
BURLY_WOOD | #deb887 | rgb(222,184,135) | |
CADET_BLUE | #5f9ea0 | rgb(95,158,160) | |
CHARTREUSE | #7fff00 | rgb(127,255,0) | |
CHOCOLATE | #d2691e | rgb(210,105,30) | |
CORAL | #ff7f50 | rgb(255,127,80) | |
CORNFLOWER_BLUE | #6495ed | rgb(100,149,237) | |
CORNSILK | #fff8dc | rgb(255,248,220) | |
CRIMSON | #dc143c | rgb(220,20,60) | |
CYAN | #00ffff | rgb(0,255,255) | |
DARK_BLUE | #00008b | rgb(0,0,139) | |
DARK_CYAN | #008b8b | rgb(0,139,139) | |
DARK_GOLDEN_ROD | #b8860b | rgb(184,134,11) | |
DARK_GRAY | #a9a9a9 | rgb(169,169,169) | |
DARK_GREEN | #006400 | rgb(0,100,0) | |
DARK_GREY | #a9a9a9 | rgb(169,169,169) | |
DARK_KHAKI | #bdb76b | rgb(189,183,107) | |
DARK_MAGENTA | #8b008b | rgb(139,0,139) | |
DARK_OLIVE_GREEN | #556b2f | rgb(85,107,47) | |
DARK_ORANGE | #ff8c00 | rgb(255,140,0) | |
DARK_ORCHID | #9932cc | rgb(153,50,204) | |
DARK_RED | #8b0000 | rgb(139,0,0) | |
DARK_SALMON | #e9967a | rgb(233,150,122) | |
DARK_SEA_GREEN | #8fbc8f | rgb(143,188,143) | |
DARK_SLATE_BLUE | #483d8b | rgb(72,61,139) | |
DARK_SLATE_GRAY | #2f4f4f | rgb(47,79,79) | |
DARK_SLATE_GREY | #2f4f4f | rgb(47,79,79) | |
DARK_TURQUOISE | #00ced1 | rgb(0,206,209) | |
DARK_VIOLET | #9400d3 | rgb(148,0,211) | |
DEEP_PINK | #ff1493 | rgb(255,20,147) | |
DEEP_SKY_BLUE | #00bfff | rgb(0,191,255) | |
DIM_GRAY | #696969 | rgb(105,105,105) | |
DIM_GREY | #696969 | rgb(105,105,105) | |
DODGER_BLUE | #1e90ff | rgb(30,144,255) | |
FIRE_BRICK | #b22222 | rgb(178,34,34) | |
FLORAL_WHITE | #fffaf0 | rgb(255,250,240) | |
FOREST_GREEN | #228b22 | rgb(34,139,34) | |
FUCHSIA | #ff00ff | rgb(255,0,255) | |
GAINSBORO | #dcdcdc | rgb(220,220,220) | |
GHOST_WHITE | #f8f8ff | rgb(248,248,255) | |
GOLD | #ffd700 | rgb(255,215,0) | |
GOLDEN_ROD | #daa520 | rgb(218,165,32) | |
GRAY | #808080 | rgb(128,128,128) | |
GREEN | #008000 | rgb(0,128,0) | |
GREEN_YELLOW | #adff2f | rgb(173,255,47) | |
GREY | #808080 | rgb(128,128,128) | |
HONEY_DEW | #f0fff0 | rgb(240,255,240) | |
HOT_PINK | #ff69b4 | rgb(255,105,180) | |
INDIAN_RED | #cd5c5c | rgb(205,92,92) | |
INDIGO | #4b0082 | rgb(75,0,130) | |
IVORY | #fffff0 | rgb(255,255,240) | |
KHAKI | #f0e68c | rgb(240,230,140) | |
LAVENDER | #e6e6fa | rgb(230,230,250) | |
LAVENDER_BLUSH | #fff0f5 | rgb(255,240,245) | |
LAWN_GREEN | #7cfc00 | rgb(124,252,0) | |
LEMON_CHIFFON | #fffacd | rgb(255,250,205) | |
LIGHT_BLUE | #add8e6 | rgb(173,216,230) | |
LIGHT_CORAL | #f08080 | rgb(240,128,128) | |
LIGHT_CYAN | #e0ffff | rgb(224,255,255) | |
LIGHT_GOLDEN_ROD_YELLOW | #fafad2 | rgb(250,250,210) | |
LIGHT_GRAY | #d3d3d3 | rgb(211,211,211) | |
LIGHT_GREEN | #90ee90 | rgb(144,238,144) | |
LIGHT_GREY | #d3d3d3 | rgb(211,211,211) | |
LIGHT_PINK | #ffb6c1 | rgb(255,182,193) | |
LIGHT_SALMON | #ffa07a | rgb(255,160,122) | |
LIGHT_SEA_GREEN | #20b2aa | rgb(32,178,170) | |
LIGHT_SKY_BLUE | #87cefa | rgb(135,206,250) | |
LIGHT_SLATE_GRAY | #778899 | rgb(119,136,153) | |
LIGHT_SLATE_GREY | #778899 | rgb(119,136,153) | |
LIGHT_STEEL_BLUE | #b0c4de | rgb(176,196,222) | |
LIGHT_YELLOW | #ffffe0 | rgb(255,255,224) | |
LIME | #00ff00 | rgb(0,255,0) | |
LIME_GREEN | #32cd32 | rgb(50,205,50) | |
LINEN | #faf0e6 | rgb(250,240,230) | |
MAGENTA | #ff00ff | rgb(255,0,255) | |
MAROON | #800000 | rgb(128,0,0) | |
MEDIUM_AQUA_MARINE | #66cdaa | rgb(102,205,170) | |
MEDIUM_BLUE | #0000cd | rgb(0,0,205) | |
MEDIUM_ORCHID | #ba55d3 | rgb(186,85,211) | |
MEDIUM_PURPLE | #9370db | rgb(147,112,219) | |
MEDIUM_SEA_GREEN | #3cb371 | rgb(60,179,113) | |
MEDIUM_SLATE_BLUE | #7b68ee | rgb(123,104,238) | |
MEDIUM_SPRING_GREEN | #00fa9a | rgb(0,250,154) | |
MEDIUM_TURQUOISE | #48d1cc | rgb(72,209,204) | |
MEDIUM_VIOLET_RED | #c71585 | rgb(199,21,133) | |
MIDNIGHT_BLUE | #191970 | rgb(25,25,112) | |
MINT_CREAM | #f5fffa | rgb(245,255,250) | |
MISTY_ROSE | #ffe4e1 | rgb(255,228,225) | |
MOCCASIN | #ffe4b5 | rgb(255,228,181) | |
NAVAJO_WHITE | #ffdead | rgb(255,222,173) | |
NAVY | #000080 | rgb(0,0,128) | |
OLD_LACE | #fdf5e6 | rgb(253,245,230) | |
OLIVE | #808000 | rgb(128,128,0) | |
OLIVE_DRAB | #6b8e23 | rgb(107,142,35) | |
ORANGE | #ffa500 | rgb(255,165,0) | |
ORANGE_RED | #ff4500 | rgb(255,69,0) | |
ORCHID | #da70d6 | rgb(218,112,214) | |
PALE_GOLDEN_ROD | #eee8aa | rgb(238,232,170) | |
PALE_GREEN | #98fb98 | rgb(152,251,152) | |
PALE_TURQUOISE | #afeeee | rgb(175,238,238) | |
PALE_VIOLET_RED | #db7093 | rgb(219,112,147) | |
PAPAYA_WHIP | #ffefd5 | rgb(255,239,213) | |
PEACH_PUFF | #ffdab9 | rgb(255,218,185) | |
PERU | #cd853f | rgb(205,133,63) | |
PINK | #ffc0cb | rgb(255,192,203) | |
PLUM | #dda0dd | rgb(221,160,221) | |
POWDER_BLUE | #b0e0e6 | rgb(176,224,230) | |
PURPLE | #800080 | rgb(128,0,128) | |
REBECCA_PURPLE | #663399 | rgb(102,51,153) | |
RED | #ff0000 | rgb(255,0,0) | |
ROSY_BROWN | #bc8f8f | rgb(188,143,143) | |
ROYAL_BLUE | #4169e1 | rgb(65,105,225) | |
SADDLE_BROWN | #8b4513 | rgb(139,69,19) | |
SALMON | #fa8072 | rgb(250,128,114) | |
SANDY_BROWN | #f4a460 | rgb(244,164,96) | |
SEA_GREEN | #2e8b57 | rgb(46,139,87) | |
SEA_SHELL | #fff5ee | rgb(255,245,238) | |
SIENNA | #a0522d | rgb(160,82,45) | |
SILVER | #c0c0c0 | rgb(192,192,192) | |
SKY_BLUE | #87ceeb | rgb(135,206,235) | |
SLATE_BLUE | #6a5acd | rgb(106,90,205) | |
SLATE_GRAY | #708090 | rgb(112,128,144) | |
SLATE_GREY | #708090 | rgb(112,128,144) | |
SNOW | #fffafa | rgb(255,250,250) | |
SPRING_GREEN | #00ff7f | rgb(0,255,127) | |
STEEL_BLUE | #4682b4 | rgb(70,130,180) | |
TAN | #d2b48c | rgb(210,180,140) | |
TEAL | #008080 | rgb(0,128,128) | |
THISTLE | #d8bfd8 | rgb(216,191,216) | |
TOMATO | #ff6347 | rgb(255,99,71) | |
TRANSPARENT | #ffffff | rgb(255,255,255) | |
TURQUOISE | #40e0d0 | rgb(64,224,208) | |
VIOLET | #ee82ee | rgb(238,130,238) | |
WHEAT | #f5deb3 | rgb(245,222,179) | |
WHITE | #ffffff | rgb(255,255,255) | |
WHITE_SMOKE | #f5f5f5 | rgb(245,245,245) | |
YELLOW | #ffff00 | rgb(255,255,0) | |
YELLOW_GREEN | #9acd32 | rgb(154,205,50) |