While newer browsers allow the limited use of literal names (e.g., "red," "purple," "green," etc.) in some HTML tags, the specification for those browsers that support color, is to use a hexidecimal coding specification for the red-green-blue combination of elements in the form RGB="#RRGGBB" where each character of the color pair is a value 0-9 and A-F. This results in each color value capable of 256 values (00 through FF).
If this seems confusing or unclear, it's quite understandable. In fact, this page was designed to help make HTML color coding a bit more understandable. The following table displays a number of possible colors based on the values described above. The rendering of them on your screen will depend on the capabilities of your monitor and browser.
Color Name | Hex Code | Sample Background & Text |
White | #FFFFFF | Sample |
Red | #FF0000 | Sample |
Green | #00FF00 | Sample |
Blue | #0000FF | Sample |
Magenta | #FF00FF | Sample |
Cyan | #00FFFF | Sample |
Yellow | #FFFF00 | Sample |
Black | #000000 | Sample |
Aquamarine | #70DB93 | Sample |
Baker's Chocolate | #5C3317 | Sample |
Blue Violet | #9F5F9F | Sample |
Brass | #B5A642 | Sample |
Bright Gold | #D9D919 | Sample |
Brown | #A62A2A | Sample |
Bronze | #8C7853 | Sample |
Bronze II | #A67D3D | Sample |
Cadet Blue | #5F9F9F | Sample |
Cool Copper | #D98719 | Sample |
Copper | #B87333 | Sample |
Coral | #FF7F00 | Sample |
Corn Flower Blue | #42426F | Sample |
Dark Brown | #5C4033 | Sample |
Dark Green | #2F4F2F | Sample |
Dark Green Copper | #4A766E | Sample |
Dark Olive Green | #4F4F2F | Sample |
Dark Orchid | #9932CD | Sample |
Dark Purple | #871F78 | Sample |
Dark Slate Blue | #6B238E | Sample |
Dark Slate Grey | #2F4F4F | Sample |
Dark Tan | #97694F | Sample |
Dark Turquoise | #7093DB | Sample |
Dark Wood | #855E42 | Sample |
Dim Grey | #545454 | Sample |
Dusty Rose | #856363 | Sample |
Feldspar | #D19275 | Sample |
Firebrick | #8E2323 | Sample |
Forest Green | #238E23 | Sample |
Gold | #CD7F32 | Sample |
Goldenrod | #DBDB70 | Sample |
Grey | #C0C0C0 | Sample |
Green Copper | #527F76 | Sample |
Green Yellow | #93DB70 | Sample |
Hunter Green | #215E21 | Sample |
Indian Red | #4E2F2F | Sample |
Khaki | #9F9F5F | Sample |
Light Blue | #C0D9D9 | Sample |
Light Grey | #A8A8A8 | Sample |
Light Steel Blue | #8F8FBD | Sample |
Light Wood | #E9C2A6 | Sample |
Lime Green | #32CD32 | Sample |
Mandarin Orange | #E47833 | Sample |
Maroon | #8E236B | Sample |
Medium Aquamarine | #32CD99 | Sample |
Medium Blue | #3232CD | Sample |
Medium Forest Green | #6B8E23 | Sample |
Medium Goldenrod | #EAEAAE | Sample |
Medium Orchid | #9370DB | Sample |
Medium Sea Green | #426F42 | Sample |
Medium Slate Blue | #7F00FF | Sample |
Medium Spring Green | #7FFF00 | Sample |
Medium Turquoise | #70DBDB | Sample |
Medium Violet Red | #DB7093 | Sample |
Medium Wood | #A68064 | Sample |
Midnight Blue | #2F2F4F | Sample |
Navy Blue | #23238E | Sample |
Neon Blue | #4D4DFF | Sample |
Neon Pink | #FF6EC7 | Sample |
New Midnight Blue | #00009C | Sample |
New Tan | #EBC79E | Sample |
Old Gold | #CFB53B | Sample |
Orange | #FF7F00 | Sample |
Orange Red | #FF2400 | Sample |
Orchid | #DB70DB | Sample |
Pale Green | #8FBC8F | Sample |
Pink | #BC8F8F | Sample |
Plum | #EAADEA | Sample |
Quartz | #D9D9F3 | Sample |
Rich Blue | #5959AB | Sample |
Salmon | #6F4242 | Sample |
Scarlet | #8C1717 | Sample |
Sea Green | #238E68 | Sample |
Semi-Sweet Chocolate | #6B4226 | Sample |
Sienna | #8E6B23 | Sample |
Silver | #E6E8FA | Sample |
Sky Blue | #3299CC | Sample |
Slate Blue | #007FFF | Sample |
Spicy Pink | #FF1CAE | Sample |
Spring Green | #00FF7F | Sample |
Steel Blue | #236B8E | Sample |
Summer Sky | #38B0DE | Sample |
Tan | #DB9370 | Sample |
Thistle | #D8BFD8 | Sample |
Turquoise | #ADEAEA | Sample |
Very Dark Brown | #5C4033 | Sample |
Very Light Grey | #CDCDCD | Sample |
Violet | #4F2F4F | Sample |
Violet Red | #CC3299 | Sample |
Wheat | #D8D8BF | Sample |
Yellow Green | #99CC32 | Sample |