<< Combo Deal | Index: HTML Basics | Next: Colors - 2 >>

Colors

HTML colors are expressed as RGB values, in hex.

<body bgcolor=”#ff0000”>

Nice, huh? Let’s take it apart. RGB = red, green, blue, which are the primary colors for computers. In the number above, the first pair of characters (after the #) represents the amount of red, the second pair represents green, and the third represents blue.