The table below lists all HTML color names that most browsers will recognize. The Mode column gives info about the interpretation, "Strict" marks officially supported names in HTML 4.0 and up. However, most browsers will also recognize the names marked as "Tolerant". If any browser don't like a specific name, then simply use its RGB value instead.
Notes:
| HTML name | Color | Hex | Mode | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aliceblue | #f0f8ff | Tolerant
| antiquewhite | #faebd7 | Tolerant
| antiquewhite1 | #ffefdb | Tolerant
| antiquewhite2 | #eedfcc | Tolerant
| antiquewhite3 | #cdc0b0 | Tolerant
| antiquewhite4 | #8b8378 | Tolerant
| aqua | #00ffff | Strict
| aquamarine | #7fffd4 | Tolerant
| aquamarine1 | #7fffd4 | Tolerant
| aquamarine2 | #76eec6 | Tolerant
| aquamarine3 | #66cdaa | Tolerant
| aquamarine4 | #458b74 | Tolerant
| azure | #f0ffff | Tolerant
| azure1 | #f0ffff | Tolerant
| azure2 | #e0eeee | Tolerant
| azure3 | #c1cdcd | Tolerant
| azure4 | #838b8b | Tolerant
| beige | #f5f5dc | Tolerant
| bisque | #ffe4c4 | Tolerant
| bisque1 | #ffe4c4 | Tolerant
| bisque2 | #eed5b7 | Tolerant
| bisque3 | #cdb79e | Tolerant
| bisque4 | #8b7d6b | Tolerant
| black | #000000 | Strict
| blanchedalmond | #ffebcd | Tolerant
| blue | #0000ff | Strict
| blue1 | #0000ff | Tolerant
| blue2 | #0000ee | Tolerant
| blue3 | #0000cd | Tolerant
| blue4 | #00008b | Tolerant
| blueviolet | #8a2be2 | Tolerant
| brown | #a52a2a | Tolerant
| brown1 | #ff4040 | Tolerant
| brown2 | #ee3b3b | Tolerant
| brown3 | #cd3333 | Tolerant
| brown4 | #8b2323 | Tolerant
| burlywood | #deb887 | Tolerant
| burlywood1 | #ffd39b | Tolerant
| burlywood2 | #eec591 | Tolerant
| burlywood3 | #cdaa7d | Tolerant
| burlywood4 | #8b7355 | Tolerant
| cadetblue | #5f9ea0 | Tolerant
| cadetblue1 | #98f5ff | Tolerant
| cadetblue2 | #8ee5ee | Tolerant
| cadetblue3 | #7ac5cd | Tolerant
| cadetblue4 | #53868b | Tolerant
| chartreuse | #7fff00 | Tolerant
| chartreuse1 | #7fff00 | Tolerant
| chartreuse2 | #76ee00 | Tolerant
| chartreuse3 | #66cd00 | Tolerant
| chartreuse4 | #458b00 | Tolerant
| chocolate | #d2691e | Tolerant
| chocolate1 | #ff7f24 | Tolerant
| chocolate2 | #ee7621 | Tolerant
| chocolate3 | #cd661d | Tolerant
| chocolate4 | #8b4513 | Tolerant
| coral | #ff7f50 | Tolerant
| coral1 | #ff7256 | Tolerant
| coral2 | #ee6a50 | Tolerant
| coral3 | #cd5b45 | Tolerant
| coral4 | #8b3e2f | Tolerant
| cornflowerblue | #6495ed | Tolerant
| cornsilk | #fff8dc | Tolerant
| cornsilk1 | #fff8dc | Tolerant
| cornsilk2 | #eee8cd | Tolerant
| cornsilk3 | #cdc8b1 | Tolerant
| cornsilk4 | #8b8878 | Tolerant
| crimson | #dc143c | Tolerant
| cyan | #00ffff | Tolerant
| cyan1 | #00ffff | Tolerant
| cyan2 | #00eeee | Tolerant
| cyan3 | #00cdcd | Tolerant
| cyan4 | #008b8b | Tolerant
| darkblue | #00008b | Tolerant
| darkcyan | #008b8b | Tolerant
| darkgoldenrod | #b8860b | Tolerant
| darkgoldenrod1 | #ffb90f | Tolerant
| darkgoldenrod2 | #eead0e | Tolerant
| darkgoldenrod3 | #cd950c | Tolerant
| darkgoldenrod4 | #8b6508 | Tolerant
| darkgray | #a9a9a9 | Tolerant
| darkgreen | #006400 | Tolerant
| darkkhaki | #bdb76b | Tolerant
| darkmagenta | #8b008b | |