Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The CSS 2.1 properties that can take color values are the various background and border properties. There’s also the color property, which sets the text and underline colors of the elements to which it is applied.
When assigning colors and background colors to two elements, adhere to the following: