Home > HTML > Basics of HTML > Named Colors

NAMED COLORS in HTML

Below are examples of named colors, listed in the order of their RGB numbers. All leading browsers will recognize these by both name and RBG number. However, two different browsers may not render a particular color identically. (If you view this page in different browsers, you will be able to see how each renders it.) Many feel that it is better HTML coding style to use RGB colors consistently. On the other hand, you may find that there are certain colors you use frequently that you can remember better by a name than by their RGB designations.

Generally, black is the best background for seeing an array of colors. However, this isn't always true, nor equally true for all people's eyes. Click here to see this page redisplayed with a black background.

Click here to download a portable version of this page that you can run from your own computer anytime you want. (Thanks to Tahir Belenli for adapting this page to a stand-alone tool and sharing it with me.)

RGB RGB Color Named Color Name
000000     BLACK
000080     navy
00008B     darkblue
0000CD     mediumblue
0000FF     BLUE
008000     GREEN
008080     teal
00FA9A     mediumspringgreen
00BFFF     deepskyblue
00CED1     darkturquoise
00FF00     lime
00FF7F     springgreen
00FFFF     aqua
00FFFF     cyan
006400     darkgreen
008B8B     darkcyan
191970     midnightblue
1E90FF     dodgerblue
20B2AA     lightseagreen
228B22     forestgreen
2E8B57     seagreen
2F4F4F     darkslategray
32CD32     limegreen
3CB371     mediumseagreen
40E0D0     turquoise
4169E1     royalblue
4682B4     steelblue
483D8B     darkslateblue
48D1CC     mediumturquoise
4B0082     INDIGO
556B2F     darkolivegreen
5F9EA0     cadetblue
6495ED     cornflowerblue
66CDAA     mediumaquamarine
696969     dimgray
6A5ACD     slateblue
6B8E23     olivedrab
708090     slategray
778899     lightslategray
7B68EE     mediumslateblue
7CFC00     lawngreen
7FFF00     chartreuse
7FFFD4     aquamarine
800000     maroon
800080     PURPLE
808000     olive
808080     GRAY
87CEEB     skyblue
87CEFA     lightskyblue
8A2BE2     BLUEVIOLET
8B0000     darkred
8B008B     darkmagenta
8B4513     saddlebrown
8FBC8F     darkseagreen
90EE90     lightgreen
9370DB     mediumpurple
9400D3     darkviolet
98FB98     palegreen
9932CC     darkorchid
9ACD32     YELLOWGREEN
A0522D     sienna
A52A2A     brown
A9A9A9     darkgray
ADD8E6     lightblue
ADFF2F     GREENYELLOW
AFEEEE     paleturquoise
B0C4DE     lightsteelblue
B0E0E6     powderblue
B22222     firebrick
BA55D3     mediumorchid
B8860B     darkgoldenrod
BC8F8F     rosybrown
BDB76B     darkkhaki
C0C0C0     silver
C71585     mediumvioletred
CD5C5C     indianred
CD853F     peru
D2691E     chocolate
D2B48C     tan
D3D3D3     lightgrey
D8BFD8     thistle
DA70D6     orchid
DAA520     goldenrod
DB7093     palevioletred
DEB887     burlywood
DC143C     crimson
DCDCDC     gainsboro
DDA0DD     plum
E0FFFF     lightcyan
E6E6FA     lavender
E9967A     darksalmon
EE82EE     VIOLET
EEE8AA     palegoldenrod
F08080     lightcoral
F0E68C     khaki
F0F8FF     aliceblue
F0FFF0     honeydew
F0FFFF     azure
F4A460     sandybrown
F5DEB3     wheat
F5F5DC     beige
F5F5F5     whitesmoke
F5FFFA     mintcream
F8F8FF     ghostwhite
FA8072     salmon
FAEBD7     antiquewhite
FAF0E6     linen
FAFAD2     lightgoldenrodyellow
FDF5E6     oldlace
FF0000     RED
FF00FF     magenta
FF00FF     fuchsia
FF1493     deeppink
FF4500     ORANGERED
FF6347     tomato
FF69B4     hotpink
FF7F50     coral
FF8C00     darkorange
FFA07A     lightsalmon
FFA500     ORANGE
FFB6C1     lightpink
FFC0CB     pink
FFD700     gold
FFDAB9     peachpuff
FFDEAD     navajowhite
FFE4B5     moccasin
FFE4C4     bisque
FFE4E1     mistyrose
FFEBCD     blanchedalmond
FFEFD5     papayawhip
FFF0F5     lavenderblush
FFF5EE     seashell
FFF8DC     cornsilk
FFFACD     lemonchiffon
FFFAF0     floralwhite
FFFAFA     snow
FFFF00     YELLOW
FFFFE0     lightyellow
FFFFF0     ivory
FFFFFF     WHITE