This article describes how to take control of your colors in CSS using PHP. You will learn how to:
* Centralize your color definitions using variables.
* Separate presentation and content by referring to colors using abstract names such as base and highlight.
* Automatically generate a color gradient from a single base color:
* Automatically adjust the contrast of foreground colors so they can viewed on top of your background colors