O'Reilly logo

Beginning CSS: Cascading Style Sheets for Web Design, Third Edition by Richard York, Ian Pouncey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

D

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 the 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 of the following keywords are supported in all of the major browsers.

The following sections show colors as sorted from light hue to dark hue.

Reds

images

images

Blues

images

images

Greens

images

images

Yellows

images

Browns

images

Grays

images

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required