In HTML, colors are specified by a six-digit hexidecimal code. This page utilizes a javascript I wrote to demonstrate some of the different colors available through a table. If your browser is not javascript-compatable, this page will be of no use to you.
Color tags are seperated into Red, Green, and Blue. The lowest numbers are darkest and the highest numbers are lightest. Thus, for a color that's solid red , you might use FF0000. That specifies "FF" (the highest value in 2-digit hexidecimal code) for red, and 00 each for green and blue. To get a medium Yellow you'd use 888800, which is equal parts red and green, and no blue. (88 is near the middle of the scale in 2-digit hexidecimal code). To get dark blue you'd probably use 000040, which is zero parts red and green, and a low-intensity blue.
The charts below are deisgned to show how these colors work in different combinations. It presents an overview of the colors involved, but not -all- possible colors. There are literally 16,777,216 possible color combinations, which is just a few too many to list here (I've only listed a few hundred). Each cell has a color as its background color, and the six-digit code for that specific color displayed within the cell.