Hecadecimal Color Values

Values like #FF9999 represent colors as hexadecimal numbers for red, green and blue. The first two characters following the # give the number for red, the next two for green and the last two for blue. These numbers are always in the range of 0 to 255 decimals. If you know the values in decimal, you can convert to hexadecimal using a JavaScript like the one below:

Enter RGB or Hex value and press appropriate button to convert
red: Hex color value

I also have an RGB to HEX converter within this tutorial that will change the background color of the page to the color you specify. The link to this converter is in the left menu.

Next, we discuss using the browser safe palette.