Contents Index Topic Contents | ||
Previous Topic: Additional References Next Topic: Tips and Tricks |
Color Table
This section lists and displays the colors supported by Microsoft® Internet Explorer 4.0.
You can specify colors in two ways—by using a color name, or by using numbers to denote a red-green-blue (RGB) color value.
In Internet Explorer 4.0, the supported colors appear as follows.
ALICEBLUE
(#F0F8FF)ANTIQUEWHITE
(#FAEBD7)AQUA
(#00FFFF)AQUAMARINE
(#7FFFD4)AZURE
(#F0FFFF)BEIGE
(#F5F5DC)BISQUE
(#FFE4C4)BLACK
(#000000)BLANCHEDALMOND
(#FFEBCD)BLUE
(#0000FF)BLUEVIOLET
(#8A2BE2)BROWN
(#A52A2A)BURLYWOOD
(#DEB887)CADETBLUE
(#5F9EA0)CHARTREUSE
(#7FFF00)CHOCOLATE
(#D2691E)CORAL
(#FF7F50)CORNFLOWER
(#6495ED)CORNSILK
(#FFF8DC)CRIMSON
(#DC143C)CYAN
(#00FFFF)DARKBLUE
(#00008B)DARKCYAN
(#008B8B)DARKGOLDENROD
(#B8860B)DARKGRAY
(#A9A9A9)DARKGREEN
(#006400)DARKKHAKI
(#BDB76B)DARKMAGENTA
(#8B008B)DARKOLIVEGREEN
(#556B2F)DARKORANGE
(#FF8C00)DARKORCHID
(#9932CC)DARKRED
(#8B0000)DARKSALMON
(#E9967A)DARKSEAGREEN
(#8FBC8B)DARKSLATEBLUE
(#483D8B)DARKSLATEGRAY
(#2F4F4F)DARKTURQUOISE
(#00CED1)DARKVIOLET
(#9400D3)DEEPPINK
(#FF1493)DEEPSKYBLUE
(#00BFFF)DIMGRAY
(#696969)DODGERBLUE
(#1E90FF)FIREBRICK
(#B22222)FLORALWHITE
(#FFFAF0)FORESTGREEN
(#228B22)FUCHIA
(#FF00FF)GAINSBORO
(#DCDCDC)GHOSTWHITE
(#F8F8FF)GOLD
(#FFD700)GOLDENROD
(#DAA520)GRAY
(#808080)GREEN
(#008000)GREENYELLOW
(#ADFF2F)HONEYDEW
(#F0FFF0)HOTPINK
(#FF69B4)INDIANRED
(#CD5C5C)INDIGO
(#4B0082)IVORY
(#FFFFF0)KHAKI
(#F0E68C)LAVENDER
(#E6E6FA)LAVENDERBLUSH
(#FFF0F5)LAWNGREEN
(#7CFC00)LEMONCHIFFON
(#FFFACD)LIGHTBLUE
(#ADD8E6)LIGHTCORAL
(#F08080)LIGHTCYAN
(#E0FFFF)LIGHTGOLDENRODYELLOW
(#FAFAD2)LIGHTGREEN
(#90EE90)LIGHTGREY
(#D3D3D3)LIGHTPINK
(#FFB6C1)LIGHTSALMON
(#FFA07A)LIGHTSEAGREEN
(#20B2AA)LIGHTSKYBLUE
(#87CEFA)LIGHTSLATEGRAY
(#778899)LIGHTSTEELBLUE
(#B0C4DE)LIGHTYELLOW
(#FFFFE0)LIME
(#00FF00)LIMEGREEN
(#32CD32)LINEN
(#FAF0E6)MAGENTA
(#FF00FF)MAROON
(#800000)MEDIUMAQUAMARINE
(#66CDAA)MEDIUMBLUE
(#0000CD)MEDIUMORCHID
(#BA55D3)MEDIUMPURPLE
(#9370DB)MEDIUMSEAGREEN
(#3CB371)MEDIUMSLATEBLUE
(#7B68EE)MEDIUMSPRINGGREEN
(#00FA9A)MEDIUMTURQUOISE
(#48D1CC)MEDIUMVIOLETRED
(#C71585)MIDNIGHTBLUE
(#191970)MINTCREAM
(#F5FFFA)MISTYROSE
(#FFE4E1)MOCCASIN
(#FFE4B5)NAVAJOWHITE
(#FFDEAD)NAVY
(#000080)OLDLACE
(#FDF5E6)OLIVE
(#808000)OLIVEDRAB
(#6B8E23)ORANGE
(#FFA500)ORANGERED
(#FF4500)ORCHID
(#DA70D6)PALEGOLDENROD
(#EEE8AA)PALEGREEN
(#98FB98)PALETURQUOISE
(#AFEEEE)PALEVIOLETRED
(#DB7093)PAPAYAWHIP
(#FFEFD5)PEACHPUFF
(#FFDAB9)PERU
(#CD853F)PINK
(#FFC0CB)PLUM
(#DDA0DD)POWDERBLUE
(#B0E0E6)PURPLE
(#800080)RED
(#FF0000)ROSYBROWN
(#BC8F8F)ROYALBLUE
(#4169E1)SADDLEBROWN
(#8B4513)SALMON
(#FA8072)SANDYBROWN
(#F4A460)SEAGREEN
(#2E8B57)SEASHELL
(#FFF5EE)SIENNA
(#A0522D)SILVER
(#C0C0C0)SKYBLUE
(#87CEEB)SLATEBLUE
(#6A5ACD)SLATEGRAY
(#708090)SNOW
(#FFFAFA)SPRINGGREEN
(#00FF7F)STEELBLUE
(#4682B4)TAN
(#D2B48C)TEAL
(#008080)THISTLE
(#D8BFD8)TOMATO
(#FF6347)TURQUOISE
(#40E0D0)VIOLET
(#EE82EE)WHEAT
(#F5DEB3)WHITE
(#FFFFFF)WHITESMOKE
(#F5F5F5)YELLOW
(#FFFF00)YELLOWGREEN
(#9ACD32)User-Defined System Colors:
ACTIVEBORDER ACTIVECAPTION APPWORKSPACE BACKGROUND BUTTONFACE BUTTONHIGHLIGHT BUTTONSHADOW BUTTONTEXT CAPTIONTEXT GRAYTEXT HIGHLIGHT HIGHLIGHTTEXT INACTIVEBORDER INACTIVECAPTION INACTIVECAPTIONTEXT INFOBACKGROUND INFOTEXT MENU MENUTEXT SCROLLBAR THREEDDARKSHADOW THREEDFACE THREEDHIGHLIGHT THREEDLIGHTSHADOW THREEDSHADOW WINDOW WINDOWFRAME WINDOWTEXT
Note These color names might not be recognized by other browsers, but the RBG color values should be displayed accurately.
An RGB color value consists of three two-digit hexadecimal numbers, with each number specifying the intensity of the corresponding color. For example, the color value #FF0000 is red because the red number is set to its highest value, FF (255 in the decimal, or base 10, system). Green and blue are set to zero. Similarly, #00FF00 is green and #0000FF is blue. The pound sign (#) is optional. In the following example, the HTML code displays a red horizontal rule.
<HR COLOR="#FF0000">Although RGB color values theoretically allow for many thousands of colors, the actual number of colors available for your HTML document depends on the color capabilities of the devices the document will be viewed on. Many personal computers can display only 16 colors due to the type of video display adapter they use. Always choose colors carefully and, whenever possible, test your color choices on a variety of computers.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.