The HTML Color Table

The following table contains the hex RGB color codes used by the various HTML (Hypertext Markup Language) tags and CSS (Cascading Style Sheet) attributes to specify color values. The hex RGB color code, which is preceded by the "#" symbol is presented along with the associated color name, both of which appear above the box containing an example of that color.

Color names are provided to make it easier to identify the associated RGB element. Some of these color names are recognized by the browsers. However, to be safe, always use the hex RGB code. Note that if you want to use the name of a color, the W3C web standards organization has stipulated that only 16 color names will pass their validation tests. As of March 2007, these 16 colors were: aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow.

The colors contained in the following table make up the 216 colors deemed to be web safe.

#FFFFFF
White

#FF0000
Red

#00FF00
Green

#0000FF
Blue

White RedGreenBlue

#FF00FF
Magenta

#00FFFF
Cyan

#FFFF00
Yellow

#000000
Black

MagentaCyanYellowBlack

#70DB93
Aquamarine

#5C3317
Chocolate

#9F5F9F
BlueViolet

#B5A642
Brass

AquamarineChocolateBlueVioletBrass

#D9D919
Bright Gold

#A62A2A
Brown

#8C7853
Bronze

#A67D3D
Bronze II

Bright GoldBrownBronzeBronze II

#5F9F9F
Cadet Blue

#D98719
Cool Copper

#B87333
Copper

#FF7F00
Coral

Cadet BlueCool CopperCopperCoral

#42426F
Corn Flower Blue

#5C4033
Dark Brown

#2F4F2F
Dark Green

#4A766E
Dark Green Copper

Corn Flower BlueDark BrownDark GreenDark Green Copper

#4F4F2F
Dark Olive Green

#9932CD
Dark Orchid

#871F78
Dark Purple

#6B238E
Dark Slate Blue

Dark Olive GreenDark OrchidDark PurpleDark Slate Blue

#2F4F4F
Dark Slate Grey

#97694F
Dark Tan

#7093DB
Dark Turquoise

#855E42
Dark Wood

Dark Slate GreyDark TanDark Turquoise Dark Wood

#545454
Dim Grey

#856363
Dusty Rose

#D19275
Feldspar

#8E2323
Firebrick

Dim GreyDusty Rose FeldsparFirebrick

#F5CCB0
Faded Brown

#238E23
Forest Green

#CD7F32
Gold

#DBDB70
Goldenrod

Faded Brown Forest GreenGoldGoldenrod

#C0C0C0
Grey

#527F76
Green Copper

#93DB70
Green Yellow

#215E21
Hunter Green

GreyGreen CopperGreen YellowHunter Green

#4E2F2F
Indian Red

#9F9F5F
Khaki

#C0D9D9
Light Blue

#A8A8A8
Light Grey

Indian RedKhakiLight BlueLight Grey

#8F8FBD
Light Steel Blue

#E9C2A6
Light Wood

#32CD32
Lime Green

#E47833
Mandarian Orange

Light Steel BlueLight WoodLime GreenMandarian Orange

#8E236B
Maroon

#32CD99
Medium Aquamarine

#3232CD
Medium Blue

#6B8E23
Medium Forest Green

MaroonMedium AquamarineMedium BlueMedium Forest Green

#EAEAAE
Medium Goldenrod

#9370DB
Medium Orchid

#426F42
Medium Sea Green

#7F00FF
Medium Slate Blue

Medium GoldenrodMedium OrchidMedium Sea GreenMedium Slate Blue

#7FFF00
Medium Spring Green

#70DBDB
Medium Turquoise

#DB7093
Medium Violet Red

#A68064
Medium Wood

Medium Spring GreenMedium Turquoise Medium Violet RedMedium Wood

#2F2F4F
Midnight Blue

#23238E
Navy Blue

#4D4DFF
Neon Blue

#FF6EC7
Neon Pink

Midnight Blue Navy BlueNeon BlueNeon Pink

#00009C
New Midnight Blue

#EBC79E
New Tan

#CFB53B
Old Gold

#FF7F00
Orange

New Midnight BlueNew TanOld GoldOrange

#FF2400
Orange Red

#DB70DB
Orchid

#8FBC8F
Pale Green

#BC8F8F
Pink

Orange RedOrchidPale GreenPink

#EAADEA
Plum

#D9D9F3
Quartz

#5959AB
Rich Blue

#6F4242
Salmon

PlumQuartzRich BlueSalmon

#8C1717
Scarlet

#238E68
Sea Green

#6B4226
Semi-Sweet Chocolate

#8E6B23
Sienna

ScarletSea GreenSemi-Sweet ChocolateSienna

#E6E8FA
Silver

#3299CC
Sky Blue

#007FFF
Slate Blue

#FF1CAE
Spicy Pink

SilverSky BlueSlate BlueSpicy Pink

#00FF7F
Spring Green

#236B8E
Steel Blue

#38B0DE
Summer Sky

#DB9370
Tan

Spring GreenSteel BlueSummer SkyTan

#D8BFD8
Thistle

#ADEAEA
Turquoise

#5C4033
Very Dark Brown

#CDCDCD
Very Light Grey

ThistleTurquoiseVery Dark BrownVery Light Grey

#4F2F4F
Violet

#CC3299
Violet Red

#D8D8BF
Wheat

#99CC32
Yellow Green

VioletViolet RedWheatYellow Green

Return to the HTML section index.