Appendix C. System Colors

In addition to being able to assign predefined color values to text, backgrounds, and so on, CSS2.1 allows authors to specify colors in a manner that integrates them into the user’s graphic environment. Style rules that take into account user preferences thus offer the following advantages:

• They produce pages that fit the user’s defined look and feel.

• They produce pages that may be more accessible as the current user settings may be related to a disability.

The set of values defined for system colors is intended to be exhaustive. For systems that do not have a corresponding value, the specified value should be mapped to the nearest system attribute or to a default color.

Table C.1 lists additional values for color-related ...

Get Cascading Style Sheets: Designing for the Web, Third 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.