Colors & Backgrounds:

Introduction to colors in CSS

Up until now, we haven't really dealt with one of the most basic and yet most important aspects of CSS: Colors! The reason for this it that while it's very easy to define a text or background color in CSS, there are so many ways to denote a color that it requires a bit more explanation.

So, in the next couple of chapters, we'll first have a look at how easy it is to alter colors in CSS, and then we'll deal with the theory behind these color notations.