Appendix C. CSS Colors

This appendix references the available CSS color keywords as documented in the W3C CSS 3 candidate recommendation. With the exception of IE 6 not supporting spelling of lightgray with an a, as in its American spelling, and IE 6 not supporting other gray color keywords spelled with an "e", as in the British spelling, all the following keywords are supported by IE 6, IE 7, Firefox 2, Opera 9, and Safari 2.

Colors Sorted Alphabetically

Color Keyword

Hexadecimal Value

RGB

aliceblue

#F0F8FF

240, 248, 255

antiquewhite

#FAEBD7

250, 235, 215

aqua

#00FFFF

0, 255, 255

aquamarine

#7FFFD4

127, 255, 212

azure

#F0FFFF

240, 255, 255

beige

#F5F5DC

245, 245, 220

bisque

#FFE4C4

255, 228, 196

black

#000000

0, 0, 0

blanchedalmond

#FFEBCD

255, 235, 205

blue

#0000FF

0, 0, 255

blueviolet

#8A2BE2

138, 43, 226

brown

#A52A2A

165, 42, 42

burlywood

#DEB887

222, 184, 135

cadetblue

#5F9EA0

95, 158, 160

chartreuse

#7FFF00

127, 255, 0

chocolate

#D2691E

210, 105, 30

coral

#FF7F50

255, 127, 80

cornflowerblue

#6495ED

100, 149, 237

cornsilk

#FFF8DC

255, 248, 220

crimson

#DC143C

220, 20, 60

cyan

#00FFFF

0, 255, 255

darkblue

#00008B

0, 0, 139

darkcyan

#008B8B

0, 139, 139

darkgoldenrod

#B8860B

184, 134, 11

darkgray

#A9A9A9

169, 169, 169

darkgreen

#006400

0, 100, 0

darkgrey

#A9A9A9

169, 169, 169

darkkhaki

#BDB76B

189, 183, 107

darkmagenta

#8B008B

139, 0, 139

darkolivegreen

#556B2F

85, 107, 47

darkorange

#FF8C00

255, 140, 0

darkorchid

#9932CC

153, 50, 204

darkred

#8B0000

139, 0, 0

darksalmon

#E9967A

233, 150, 122

darkseagreen

#8FBC8F

143, 188, 143

darkslateblue

#483D8B

72, 61, 139

darkslategray

#2F4F4F

47, 79, ...

Get Beginning CSS: Cascading Style Sheets for Web Design, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.