Color name-RGB value table
On the HTML page, you can specify the color in two ways-a color name or a number that represents the RGB color value. An RGB color value is composed of three two hexadecimal numbers, representing the color intensity respectively.
For example, the color value # ff0000 is rendered in red because the Red value reaches the maximum value FF (equal to decimal 255 ).
When you use it! When the doctype declaration is set to standard compatibility mode, Microsoft Internet Explorer 6 and later versions will ignore the style sheet declaration that does not comply with level 1 of style sheet (CSS. According to CSS 1, the color specified by the hexadecimal RGB value must contain the leading "#" character. Values such as "ffffff" will be ignored rather than understood as "# ffffff" (that is, white), but earlier versions of Internet Explorer understand this. This affects all attributes that accept color values.
Note: Although these color names may not be used by other browsers, the RGB color values should be correctly displayed in different browsers. To specify a color value for a Web page that spans different browsers, use the RGB color value.
The following table lists the colors supported by Internet Explorer 4.0.
Aliceblue (# F0f8ff) |
Antiquewhite (# Faebd7) |
Aqua (#00 FFFF) |
Aquamarine (#7fffd4) |
Azure (# F0ffff) |
Beige (# F5f5dc) |
Bisque (# Ffe4c4) |
Black (#000000) |
Blanchedalmond (# Ffebcd) |
Blue (# 0000ff) |
Bluevilet (#8a2be2) |
Brown (# A52a2a) |
Burlywood (# Deb887) |
Cadetblue (#5f9ea0) |
Chartreuse (#7fff00) |
Chocolate (# D2691e) |
Coral (# Ff7f50) |
Cornflowerblue (# 6495ed) |
Cornsilk (# Fff8dc) |
Crimson (# Dc143c) |
Cyan (#00 FFFF) |
Darkblue (# Pai8b) |
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) |
Darkviotlet (#9400d3) |
Deeppink (# Ff1493) |
Deepskyblue (#00 bfff) |
Dimgray (#696969) |
Dodgerblue (# 1e90ff) |
Firebrick (# B22222) |
Floralwhite (# Fffaf0) |
Forestgreen (#228b22) |
Fuchsia (# 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 (#87 cefa) |
Lightslategray (#778899) |
Lightsteelblue (# B0c4de) |
Lightyellow (# Ffffe0) |
Lime (#00ff00) |
Limegreen (#32cd32) |
Linen (# Faf0e6) |
Magenta (# Ff00ff) |
Maroon (#800000) |
Mediumaquamarine (#66 cdaa) |
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 (#87 ceeb) |
Slateblue (# 6a5acd) |
Slategray (#708090) |
Snow (# Fffafa) |
Springgreen (# 00ff7f) |
Steelblue (#4682b4) |
Tan (# D2b48c) |
Teal (#008080) |
Thistle (# D8bfd8) |
Tomato (# Ff6347) |
Turquoise (#40e0d0) |
Viotlet (# Ee82ee) |
Wheat (# F5deb3) |
White (# Ffffff) |
Whitesmoke (# F5f5f5) |
Yellow (# FFFF00) |
Yellowgreen (#9acd32) |
User-defined system color
Trackback: http://tb.blog.csdn.net/TrackBack.aspx? Postid = 1254552
Source: http://blog.csdn.net/johndiyang/archive/2006/09/20/1254552.aspx