A CSS color keyword is a predefined name that identifies a color for a CSS property. CSS provides 140 names, from common colors such as red, green, and blue to names such as lemonchiffon, darkorchid, and wheat. section 3.2.6
Use color to set text color and background-color to set an element’s background. Choose text and background colors with enough contrast: dark text on light backgrounds or light text on dark backgrounds is easiest to read. section 3.2.6
Customize an existing page by replacing its color values with other color keywords:
- Change the body background-color to alter the page background. section 13.7
- Change header and footer background-color values to customize those areas. section 13.7
- Change the body color value to alter the page’s text color. section 13.7
- Ask for a coordinated scheme using a main hue and two supporting CSS color keywords. section 3.2.6
A simple color choice
A page can use oldlace for its background and a contrasting color for its text. Replace oldlace or any other keyword to try a different appearance, while checking that the text remains readable. section 3.4
