All of the colors in CSS can be specified with numerical values. However, a smaller set of the more common colors can be specified using styles via labels. In the table below, we list the names that can be used to specify a color followed by the numerical hexadecimal value that corresponds to the alternative designation that can also be used as a specifier.
CSS Color Names | ||||||||
---|---|---|---|---|---|---|---|---|
AliceBlue - Gainsboro | GhostWhite - Moccasin | NavajoWhite - YellowGreen | ||||||
Name | Hex | Color | Name | Hex | Color | Name | Hex | Color |
AliceBlue | #F0F8FF | GhostWhite | #F8F8FF | NavajoWhite | #FFDEAD | |||
AntiqueWhite | #FAEBD7 | Gold | #FFD700 | Navy | #000080 | |||
Aqua | #00FFFF | GoldenRod | #DAA520 | OldLace | #FDF5E6 | |||
Aquamarine | #7FFFD4 | Gray | #808080 | Olive | #808000 | |||
Azure | #F0FFFF | Grey | #808080 | OliveDrab | #6B8E23 | |||
Beige | #F5F5DC | Green | #008000 | Orange | #FFA500 | |||
Bisque | #FFE4C4 | GreenYellow | #ADFF2F | OrangeRed | #FF4500 | |||
Black | #000000 | HoneyDew | #F0FFF0 | Orchid | #DA70D6 | |||
BlanchedAlmond | #FFEBCD | HotPink | #FF69B4 | PaleGoldenRod | #EEE8AA | |||
Blue | #0000FF | IndianRed | #CD5C5C | PaleGreen | #98FB98 | |||
BlueViolet | #8A2BE2 | Indigo | #4B0082 | PaleTurquoise | #AFEEEE | |||
Brown | #A52A2A | Ivory | #FFFFF0 | PaleVioletRed | #DB7093 | |||
BurlyWood | #DEB887 | Khaki | #F0E68C | PapayaWhip | #FFEFD5 | |||
CadetBlue | #5F9EA0 | Lavender | #E6E6FA | PeachPuff | #FFDAB9 | |||
Chartreuse | #7FFF00 | LavenderBlush | #FFF0F5 | Peru | #CD853F | |||
Chocolate | #D2691E | LawnGreen | #7CFC00 | Pink | #FFC0CB | |||
Coral | #FF7F50 | LemonChiffon | #FFFACD | Plum | #DDA0DD | |||
CornflowerBlue | #6495ED | LightBlue | #ADD8E6 | PowderBlue | #B0E0E6 | |||
Cornsilk | #FFF8DC | LightCoral | #F08080 | Purple | #800080 | |||
Crimson | #DC143C | LightCyan | #E0FFFF | RebeccaPurple | #663399 | |||
Cyan | #00FFFF | LightGoldenRodYellow | #FAFAD2 | Red | #FF0000 | |||
DarkBlue | #00008B | LightGray | #D3D3D3 | RosyBrown | #BC8F8F | |||
DarkCyan | #008B8B | LightGrey | #D3D3D3 | RoyalBlue | #4169E1 | |||
DarkGoldenRod | #B8860B | LightGreen | #90EE90 | SaddleBrown | #8B4513 | |||
DarkGray | #A9A9A9 | LightPink | #FFB6C1 | Salmon | #FA8072 | |||
DarkGrey | #A9A9A9 | LightSalmon | #FFA07A | SandyBrown | #F4A460 | |||
DarkGreen | #006400 | LightSeaGreen | #20B2AA | SeaGreen | #2E8B57 | |||
DarkKhaki | #BDB76B | LightSkyBlue | #87CEFA | SeaShell | #FFF5EE | |||
DarkMagenta | #8B008B | LightSlateGray | #778899 | Sienna | #A0522D | |||
DarkOliveGreen | #556B2F | LightSlateGrey | #778899 | Silver | #C0C0C0 | |||
DarkOrange | #FF8C00 | LightSteelBlue | #B0C4DE | SkyBlue | #87CEEB | |||
DarkOrchid | #9932CC | LightYellow | #FFFFE0 | SlateBlue | #6A5ACD | |||
DarkRed | #8B0000 | Lime | #00FF00 | SlateGray | #708090 | |||
DarkSalmon | #E9967A | LimeGreen | #32CD32 | SlateGrey | #708090 | |||
DarkSeaGreen | #8FBC8F | Linen | #FAF0E6 | Snow | #FFFAFA | |||
DarkSlateBlue | #483D8B | Magenta | #FF00FF | SpringGreen | #00FF7F | |||
DarkSlateGray | #2F4F4F | Maroon | #800000 | SteelBlue | #4682B4 | |||
DarkSlateGrey | #2F4F4F | MediumAquaMarine | #66CDAA | Tan | #D2B48C | |||
DarkTurquoise | #00CED1 | MediumBlue | #0000CD | Teal | #008080 | |||
DarkViolet | #9400D3 | MediumOrchid | #BA55D3 | Thistle | #D8BFD8 | |||
DeepPink | #FF1493 | MediumPurple | #9370DB | Tomato | #FF6347 | |||
DeepSkyBlue | #00BFFF | MediumSeaGreen | #3CB371 | Turquoise | #40E0D0 | |||
DimGray | #696969 | MediumSlateBlue | #7B68EE | Violet | #EE82EE | |||
DimGrey | #696969 | MediumSpringGreen | #00FA9A | Wheat | #F5DEB3 | |||
DodgerBlue | #1E90FF | MediumTurquoise | #48D1CC | White | #FFFFFF | |||
FireBrick | #B22222 | MediumVioletRed | #C71585 | WhiteSmoke | #F5F5F5 | |||
FloralWhite | #FFFAF0 | MidnightBlue | #191970 | Yellow | #FFFF00 | |||
ForestGreen | #228B22 | MintCream | #F5FFFA | YellowGreen | #9ACD32 | |||
Fuchsia | #FF00FF | MistyRose | #FFE4E1 | |||||
Gainsboro | #DCDCDC | Moccasin | #FFE4B5 |
© 20072024 XoaX.net LLC. All rights reserved.