TOC

The community is working on translating this tutorial into Arabic, but it seems that no one has started the translation process for this article yet. If you can help us, then please click "More info".

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.


This article has been fully translated into the following languages: Is your preferred language not on the list? Click here to help us translate this article into your language!