Skip to main content
Version: 6.1

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);
NameHexRGBColor
ALICE_BLUE#f0f8ffrgb(240,248,255)                 
ANTIQUE_WHITE#faebd7rgb(250,235,215)                 
AQUA#00ffffrgb(0,255,255)                 
AQUAMARINE#7fffd4rgb(127,255,212)                 
AZURE#f0ffffrgb(240,255,255)                 
BEIGE#f5f5dcrgb(245,245,220)                 
BISQUE#ffe4c4rgb(255,228,196)                 
BLACK#000000rgb(0,0,0)                 
BLANCHED_ALMOND#ffebcdrgb(255,235,205)                 
BLUE#0000ffrgb(0,0,255)                 
BLUE_VIOLET#8a2be2rgb(138,43,226)                 
BROWN#a52a2argb(165,42,42)                 
BURLY_WOOD#deb887rgb(222,184,135)                 
CADET_BLUE#5f9ea0rgb(95,158,160)                 
CHARTREUSE#7fff00rgb(127,255,0)                 
CHOCOLATE#d2691ergb(210,105,30)                 
CORAL#ff7f50rgb(255,127,80)                 
CORNFLOWER_BLUE#6495edrgb(100,149,237)                 
CORNSILK#fff8dcrgb(255,248,220)                 
CRIMSON#dc143crgb(220,20,60)                 
CYAN#00ffffrgb(0,255,255)                 
DARK_BLUE#00008brgb(0,0,139)                 
DARK_CYAN#008b8brgb(0,139,139)                 
DARK_GOLDEN_ROD#b8860brgb(184,134,11)                 
DARK_GRAY#a9a9a9rgb(169,169,169)                 
DARK_GREEN#006400rgb(0,100,0)                 
DARK_GREY#a9a9a9rgb(169,169,169)                 
DARK_KHAKI#bdb76brgb(189,183,107)                 
DARK_MAGENTA#8b008brgb(139,0,139)                 
DARK_OLIVE_GREEN#556b2frgb(85,107,47)                 
DARK_ORANGE#ff8c00rgb(255,140,0)                 
DARK_ORCHID#9932ccrgb(153,50,204)                 
DARK_RED#8b0000rgb(139,0,0)                 
DARK_SALMON#e9967argb(233,150,122)                 
DARK_SEA_GREEN#8fbc8frgb(143,188,143)                 
DARK_SLATE_BLUE#483d8brgb(72,61,139)                 
DARK_SLATE_GRAY#2f4f4frgb(47,79,79)                 
DARK_SLATE_GREY#2f4f4frgb(47,79,79)                 
DARK_TURQUOISE#00ced1rgb(0,206,209)                 
DARK_VIOLET#9400d3rgb(148,0,211)                 
DEEP_PINK#ff1493rgb(255,20,147)                 
DEEP_SKY_BLUE#00bfffrgb(0,191,255)                 
DIM_GRAY#696969rgb(105,105,105)                 
DIM_GREY#696969rgb(105,105,105)                 
DODGER_BLUE#1e90ffrgb(30,144,255)                 
FIRE_BRICK#b22222rgb(178,34,34)                 
FLORAL_WHITE#fffaf0rgb(255,250,240)                 
FOREST_GREEN#228b22rgb(34,139,34)                 
FUCHSIA#ff00ffrgb(255,0,255)                 
GAINSBORO#dcdcdcrgb(220,220,220)                 
GHOST_WHITE#f8f8ffrgb(248,248,255)                 
GOLD#ffd700rgb(255,215,0)                 
GOLDEN_ROD#daa520rgb(218,165,32)                 
GRAY#808080rgb(128,128,128)                 
GREEN#008000rgb(0,128,0)                 
GREEN_YELLOW#adff2frgb(173,255,47)                 
GREY#808080rgb(128,128,128)                 
HONEY_DEW#f0fff0rgb(240,255,240)                 
HOT_PINK#ff69b4rgb(255,105,180)                 
INDIAN_RED#cd5c5crgb(205,92,92)                 
INDIGO#4b0082rgb(75,0,130)                 
IVORY#fffff0rgb(255,255,240)                 
KHAKI#f0e68crgb(240,230,140)                 
LAVENDER#e6e6fargb(230,230,250)                 
LAVENDER_BLUSH#fff0f5rgb(255,240,245)                 
LAWN_GREEN#7cfc00rgb(124,252,0)                 
LEMON_CHIFFON#fffacdrgb(255,250,205)                 
LIGHT_BLUE#add8e6rgb(173,216,230)                 
LIGHT_CORAL#f08080rgb(240,128,128)                 
LIGHT_CYAN#e0ffffrgb(224,255,255)                 
LIGHT_GOLDEN_ROD_YELLOW#fafad2rgb(250,250,210)                 
LIGHT_GRAY#d3d3d3rgb(211,211,211)                 
LIGHT_GREEN#90ee90rgb(144,238,144)                 
LIGHT_GREY#d3d3d3rgb(211,211,211)                 
LIGHT_PINK#ffb6c1rgb(255,182,193)                 
LIGHT_SALMON#ffa07argb(255,160,122)                 
LIGHT_SEA_GREEN#20b2aargb(32,178,170)                 
LIGHT_SKY_BLUE#87cefargb(135,206,250)                 
LIGHT_SLATE_GRAY#778899rgb(119,136,153)                 
LIGHT_SLATE_GREY#778899rgb(119,136,153)                 
LIGHT_STEEL_BLUE#b0c4dergb(176,196,222)                 
LIGHT_YELLOW#ffffe0rgb(255,255,224)                 
LIME#00ff00rgb(0,255,0)                 
LIME_GREEN#32cd32rgb(50,205,50)                 
LINEN#faf0e6rgb(250,240,230)                 
MAGENTA#ff00ffrgb(255,0,255)                 
MAROON#800000rgb(128,0,0)                 
MEDIUM_AQUA_MARINE#66cdaargb(102,205,170)                 
MEDIUM_BLUE#0000cdrgb(0,0,205)                 
MEDIUM_ORCHID#ba55d3rgb(186,85,211)                 
MEDIUM_PURPLE#9370dbrgb(147,112,219)                 
MEDIUM_SEA_GREEN#3cb371rgb(60,179,113)                 
MEDIUM_SLATE_BLUE#7b68eergb(123,104,238)                 
MEDIUM_SPRING_GREEN#00fa9argb(0,250,154)                 
MEDIUM_TURQUOISE#48d1ccrgb(72,209,204)                 
MEDIUM_VIOLET_RED#c71585rgb(199,21,133)                 
MIDNIGHT_BLUE#191970rgb(25,25,112)                 
MINT_CREAM#f5fffargb(245,255,250)                 
MISTY_ROSE#ffe4e1rgb(255,228,225)                 
MOCCASIN#ffe4b5rgb(255,228,181)                 
NAVAJO_WHITE#ffdeadrgb(255,222,173)                 
NAVY#000080rgb(0,0,128)                 
OLD_LACE#fdf5e6rgb(253,245,230)                 
OLIVE#808000rgb(128,128,0)                 
OLIVE_DRAB#6b8e23rgb(107,142,35)                 
ORANGE#ffa500rgb(255,165,0)                 
ORANGE_RED#ff4500rgb(255,69,0)                 
ORCHID#da70d6rgb(218,112,214)                 
PALE_GOLDEN_ROD#eee8aargb(238,232,170)                 
PALE_GREEN#98fb98rgb(152,251,152)                 
PALE_TURQUOISE#afeeeergb(175,238,238)                 
PALE_VIOLET_RED#db7093rgb(219,112,147)                 
PAPAYA_WHIP#ffefd5rgb(255,239,213)                 
PEACH_PUFF#ffdab9rgb(255,218,185)                 
PERU#cd853frgb(205,133,63)                 
PINK#ffc0cbrgb(255,192,203)                 
PLUM#dda0ddrgb(221,160,221)                 
POWDER_BLUE#b0e0e6rgb(176,224,230)                 
PURPLE#800080rgb(128,0,128)                 
REBECCA_PURPLE#663399rgb(102,51,153)                 
RED#ff0000rgb(255,0,0)                 
ROSY_BROWN#bc8f8frgb(188,143,143)                 
ROYAL_BLUE#4169e1rgb(65,105,225)                 
SADDLE_BROWN#8b4513rgb(139,69,19)                 
SALMON#fa8072rgb(250,128,114)                 
SANDY_BROWN#f4a460rgb(244,164,96)                 
SEA_GREEN#2e8b57rgb(46,139,87)                 
SEA_SHELL#fff5eergb(255,245,238)                 
SIENNA#a0522drgb(160,82,45)                 
SILVER#c0c0c0rgb(192,192,192)                 
SKY_BLUE#87ceebrgb(135,206,235)                 
SLATE_BLUE#6a5acdrgb(106,90,205)                 
SLATE_GRAY#708090rgb(112,128,144)                 
SLATE_GREY#708090rgb(112,128,144)                 
SNOW#fffafargb(255,250,250)                 
SPRING_GREEN#00ff7frgb(0,255,127)                 
STEEL_BLUE#4682b4rgb(70,130,180)                 
TAN#d2b48crgb(210,180,140)                 
TEAL#008080rgb(0,128,128)                 
THISTLE#d8bfd8rgb(216,191,216)                 
TOMATO#ff6347rgb(255,99,71)                 
TRANSPARENT#ffffffrgb(255,255,255)                 
TURQUOISE#40e0d0rgb(64,224,208)                 
VIOLET#ee82eergb(238,130,238)                 
WHEAT#f5deb3rgb(245,222,179)                 
WHITE#ffffffrgb(255,255,255)                 
WHITE_SMOKE#f5f5f5rgb(245,245,245)                 
YELLOW#ffff00rgb(255,255,0)                 
YELLOW_GREEN#9acd32rgb(154,205,50)