Colors

Any time you want to use colors in CSS, whether it's for backgrounds, borders, or text, you need to set the color name. There are 140 standard color names you can use (if you can remember them, but many of them are just what you'd expect).

Alternatively, you can set the color using RGB (red-green-blue) color values. There are "color pickers" you can use to get the RGB numbers you need. (Note: for different shades of grey, you use equivalent rgb codes, e.g. 72 72 72).

Instead of RGB, many coders using Hexadecimal (base 16) color values. You can use that same color picker (among others) to get the hex codes.

Red could be indicated using "red", rgb(128, 0, 0) or #ff0000, so color:rgb(128, 0, 0) or color: #ff0000

There are a variety of "eyedropper"-type applications that will also get you the codes for colors you find on other web pages (ColorZilla is one that has a chrome plugin).