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 |
---|---|---|
| #F0F8FF | 240, 248, 255 |
| #FAEBD7 | 250, 235, 215 |
| #00FFFF | 0, 255, 255 |
| #7FFFD4 | 127, 255, 212 |
| #F0FFFF | 240, 255, 255 |
| #F5F5DC | 245, 245, 220 |
| #FFE4C4 | 255, 228, 196 |
| #000000 | 0, 0, 0 |
| #FFEBCD | 255, 235, 205 |
| #0000FF | 0, 0, 255 |
| #8A2BE2 | 138, 43, 226 |
| #A52A2A | 165, 42, 42 |
| #DEB887 | 222, 184, 135 |
| #5F9EA0 | 95, 158, 160 |
| #7FFF00 | 127, 255, 0 |
| #D2691E | 210, 105, 30 |
| #FF7F50 | 255, 127, 80 |
| #6495ED | 100, 149, 237 |
| #FFF8DC | 255, 248, 220 |
| #DC143C | 220, 20, 60 |
| #00FFFF | 0, 255, 255 |
| #00008B | 0, 0, 139 |
| #008B8B | 0, 139, 139 |
| #B8860B | 184, 134, 11 |
| #A9A9A9 | 169, 169, 169 |
| #006400 | 0, 100, 0 |
| #A9A9A9 | 169, 169, 169 |
| #BDB76B | 189, 183, 107 |
| #8B008B | 139, 0, 139 |
| #556B2F | 85, 107, 47 |
| #FF8C00 | 255, 140, 0 |
| #9932CC | 153, 50, 204 |
| #8B0000 | 139, 0, 0 |
| #E9967A | 233, 150, 122 |
| #8FBC8F | 143, 188, 143 |
| #483D8B | 72, 61, 139 |
| #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.