0% found this document useful (0 votes)
731 views

CSS Colour Codes

The document provides information about CSS color names and codes. It includes two tables - one listing the 17 official CSS color names along with their hexadecimal and decimal RGB codes, and another listing additional X11 color names and their respective codes. It also includes a chart of the 216 web safe hexadecimal color values.

Uploaded by

Joy Yeh
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
731 views

CSS Colour Codes

The document provides information about CSS color names and codes. It includes two tables - one listing the 17 official CSS color names along with their hexadecimal and decimal RGB codes, and another listing additional X11 color names and their respective codes. It also includes a chart of the 216 web safe hexadecimal color values.

Uploaded by

Joy Yeh
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 5

CSS Color Names

The following color code chart contains the 17 official CSS color names (based
on the CSS 2.1 specification) along with their hex RGB value and their decimal
RGB value.
Clicking on a value will take you to a color scheme tester, where you can see
your selected color as the background color of the web page.
Color Name
Maroon
Red
Orange
Yellow
Olive
Green
Color Name
Purple
Fuchsia
Lime
Teal
Aqua
Blue
Color Name
Navy
Black
Gray
Silver
White

Hex Code
RGB
800000
FF0000
FFA500
FFFF00
808000
008000
Hex Code
RGB
800080
FF00FF
00FF00
008080
00FFFF
0000FF
Hex Code
RGB
000080
000000
808080
C0C0C0
FFFFFF

Decimal Code
RGB
128,0,0
255,0,0
255,165,0
255,255,0
128,128,0
0,128,0
Decimal Code
RGB
128,0,128
255,0,255
0,255,0
0,128,128
0,255,255
0,0,255
Decimal Code
RGB
0,0,128
0,0,0
128,128,128
192,192,192
255,255,255

X11 Colors
Here is a table of the X11 colors. These are supported by all major browsers.
Again, clicking on a value will take you to a color scheme tester, where you can
see your selected color as the background color of the web page.
Color Name

Reds

IndianRed
LightCoral
Salmon
DarkSalmon
LightSalmon
Crimson
Red
FireBrick
DarkRed

Pinks
Pink

Hex Code
RGB

Decimal Code
RGB

CD5C5C
F08080
FA8072
E9967A
FFA07A
DC143C
FF0000
B22222
8B0000

205,92,92
240,128,128
250,128,114
233,150,122
255,160,122
220,20,60
255,0,0
178,34,34
139,0,0

FFC0CB

255,192,203

LightPink
HotPink
DeepPink
MediumVioletRed
PaleVioletRed

Oranges

LightSalmon
Coral
Tomato
OrangeRed
DarkOrange
Orange

Yellows

Gold
Yellow
LightYellow
LemonChiffon
LightGoldenrodYellow
PapayaWhip
Moccasin
PeachPuff
PaleGoldenrod
Khaki
DarkKhaki

Purples

Lavender
Thistle
Plum
Violet
Orchid
Fuchsia
Magenta
MediumOrchid
MediumPurple
Amethyst
BlueViolet
DarkViolet
DarkOrchid
DarkMagenta
Purple
Indigo
SlateBlue
DarkSlateBlue
MediumSlateBlue
Color Name

Greens

GreenYellow
Chartreuse
LawnGreen
Lime
LimeGreen
PaleGreen
LightGreen

FFB6C1
FF69B4
FF1493
C71585
DB7093

255,182,193
255,105,180
255,20,147
199,21,133
219,112,147

FFA07A
FF7F50
FF6347
FF4500
FF8C00
FFA500

255,160,122
255,127,80
255,99,71
255,69,0
255,140,0
255,165,0

FFD700
FFFF00
FFFFE0
FFFACD
FAFAD2
FFEFD5
FFE4B5
FFDAB9
EEE8AA
F0E68C
BDB76B

255,215,0
255,255,0
255,255,224
255,250,205
250,250,210
255,239,213
255,228,181
255,218,185
238,232,170
240,230,140
189,183,107

E6E6FA
D8BFD8
DDA0DD
EE82EE
DA70D6
FF00FF
FF00FF
BA55D3
9370DB
9966CC
8A2BE2
9400D3
9932CC
8B008B
800080
4B0082
6A5ACD
483D8B
7B68EE
Hex Code
RGB

230,230,250
216,191,216
221,160,221
238,130,238
218,112,214
255,0,255
255,0,255
186,85,211
147,112,219
153,102,204
138,43,226
148,0,211
153,50,204
139,0,139
128,0,128
75,0,130
106,90,205
72,61,139
123,104,238
Decimal Code
RGB

ADFF2F
7FFF00
7CFC00
00FF00
32CD32
98FB98
90EE90

173,255,47
127,255,0
124,252,0
0,255,0
50,205,50
152,251,152
144,238,144

MediumSpringGreen
SpringGreen
MediumSeaGreen
SeaGreen
ForestGreen
Green
DarkGreen
YellowGreen
OliveDrab
Olive
DarkOliveGreen
MediumAquamarine
DarkSeaGreen
LightSeaGreen
DarkCyan
Teal

Blues/Cyans

Aqua
Cyan
LightCyan
PaleTurquoise
Aquamarine
Turquoise
MediumTurquoise
DarkTurquoise
CadetBlue
SteelBlue
LightSteelBlue
PowderBlue
LightBlue
SkyBlue
LightSkyBlue
DeepSkyBlue
DodgerBlue
CornflowerBlue
MediumSlateBlue
RoyalBlue
Blue
MediumBlue
DarkBlue
Navy
MidnightBlue
Color Name

Browns

Cornsilk
BlanchedAlmond
Bisque
NavajoWhite
Wheat
BurlyWood
Tan
RosyBrown
SandyBrown

00FA9A
00FF7F
3CB371
2E8B57
228B22
008000
006400
9ACD32
6B8E23
808000
556B2F
66CDAA
8FBC8F
20B2AA
008B8B
008080

0,250,154
0,255,127
60,179,113
46,139,87
34,139,34
0,128,0
0,100,0
154,205,50
107,142,35
128,128,0
85,107,47
102,205,170
143,188,143
32,178,170
0,139,139
0,128,128

00FFFF
00FFFF
E0FFFF
AFEEEE
7FFFD4
40E0D0
48D1CC
00CED1
5F9EA0
4682B4
B0C4DE
B0E0E6
ADD8E6
87CEEB
87CEFA
00BFFF
1E90FF
6495ED
7B68EE
4169E1
0000FF
0000CD
00008B
000080
191970
Hex Code
RGB

0,255,255
0,255,255
224,255,255
175,238,238
127,255,212
64,224,208
72,209,204
0,206,209
95,158,160
70,130,180
176,196,222
176,224,230
173,216,230
135,206,235
135,206,250
0,191,255
30,144,255
100,149,237
123,104,238
65,105,225
0,0,255
0,0,205
0,0,139
0,0,128
25,25,112
Decimal Code
RGB

FFF8DC
FFEBCD
FFE4C4
FFDEAD
F5DEB3
DEB887
D2B48C
BC8F8F
F4A460

255,248,220
255,235,205
255,228,196
255,222,173
245,222,179
222,184,135
210,180,140
188,143,143
244,164,96

Goldenrod
DarkGoldenrod
Peru
Chocolate
SaddleBrown
Sienna
Brown
Maroon

Whites

White
Snow
Honeydew
MintCream
Azure
AliceBlue
GhostWhite
WhiteSmoke
Seashell
Beige
OldLace
FloralWhite
Ivory
AntiqueWhite
Linen
LavenderBlush
MistyRose

Greys

Gainsboro
LightGrey
Silver
DarkGray
Gray
DimGray
LightSlateGray
SlateGray
DarkSlateGray
Black

DAA520
B8860B
CD853F
D2691E
8B4513
A0522D
A52A2A
800000

218,165,32
184,134,11
205,133,63
210,105,30
139,69,19
160,82,45
165,42,42
128,0,0

FFFFFF
FFFAFA
F0FFF0
F5FFFA
F0FFFF
F0F8FF
F8F8FF
F5F5F5
FFF5EE
F5F5DC
FDF5E6
FFFAF0
FFFFF0
FAEBD7
FAF0E6
FFF0F5
FFE4E1

255,255,255
255,250,250
240,255,240
245,255,250
240,255,255
240,248,255
248,248,255
245,245,245
255,245,238
245,245,220
253,245,230
255,250,240
255,255,240
250,235,215
250,240,230
255,240,245
255,228,225

DCDCDC
D3D3D3
C0C0C0
A9A9A9
808080
696969
778899
708090
2F4F4F
000000

220,220,220
211,211,211
192,192,192
169,169,169
128,128,128
105,105,105
119,136,153
112,128,144
47,79,79
0,0,0

Web Safe Colors


Below is a chart covering the 216 hexidecimal color values from the web safe
palette. Use this chart if you prefer to use colors from the web safe palette.
#FFFFFF
#FFCCFF
#FF99FF
#FF66FF
#FF33FF
#FF00FF
#CCFFFF
#CCCCFF
#CC99FF
#CC66FF
#CC33FF
#CC00FF

#FFFFCC
#FFCCCC
#FF99CC
#FF66CC
#FF33CC
#FF00CC
#CCFFCC
#CCCCCC
#CC99CC
#CC66CC
#CC33CC
#CC00CC

#FFFF99
#FFCC99
#FF9999
#FF6699
#FF3399
#FF0099
#CCFF99
#CCCC99
#CC9999
#CC6699
#CC3399
#CC0099

#FFFF66
#FFCC66
#FF9966
#FF6666
#FF3366
#FF0066
#CCFF66
#CCCC66
#CC9966
#CC6666
#CC3366
#CC0066

#FFFF33
#FFCC33
#FF9933
#FF6633
#FF3333
#FF0033
#CCFF33
#CCCC33
#CC9933
#CC6633
#CC3333
#CC0033

#FFFF00
#FFCC00
#FF9900
#FF6600
#FF3300
#FF0000
#CCFF00
#CCCC00
#CC9900
#CC6600
#CC3300
#CC0000

#99FFFF
#99FFCC
#99FF99
#99FF66
#99FF33
#99CCFF
#99CCCC
#99CC99
#99CC66
#99CC33
#9999FF
#9999CC
#999999
#999966
#999933
#9966FF
#9966CC
#996699
#996666
#996633
#9933FF
#9933CC
#993399
#993366
#993333
#9900FF
#9900CC
#990099
#990066
#990033
#66FFFF
#66FFCC
#66FF99
#66FF66
#66FF33
#66CCFF
#66CCCC
#66CC99
#66CC66
#66CC33
#6699FF
#6699CC
#669999
#669966
#669933
#6666FF
#6666CC
#666699
#666666
#666633
#6633FF
#6633CC
#663399
#663366
#663333
#6600FF
#6600CC
#660099
#660066
#660033
#33FFFF
#33FFCC
#33FF99
#33FF66
#33FF33
#33CCFF
#33CCCC
#33CC99
#33CC66
#33CC33
#33CCFF
#33CCCC
#33CC99
#33CC66
#33CC33
#3399FF
#3399CC
#339999
#339966
#339933
#3366FF
#3366CC
#336699
#336666
#336633
#3333FF
#3333CC
#333399
#333366
#333333
#3300FF
#3300CC
#330099
#330066
#330033
#00FFFF
#00FFCC
#00FF99
#00FF66
#00FF33
#00CCFF
#00CCCC
#00CC99
#00CC66
#00CC33
#0099FF
#0099CC
#009999
#009966
#009933
#0066FF
#0066CC
#006699
#006666
#006633
#0033FF
#0033CC
#003399
#003366
#003333
#0000FF
#0000CC
#000099
#000066
#000033
For more about hexadecimal colors, see Hex Color Codes.

#99FF00
#99CC00
#999900
#996600
#993300
#990000
#66FF00
#66CC00
#669900
#666000
#663300
#660000
#33FF00
#33CC00
#33CC00
#339900
#336600
#333300
#330000
#00FF00
#00CC00
#009900
#006600
#003300
#000000

You might also like