[Fork from http://www.jgiesen.de/javascript/HTML/index.htm]

Additive Colors (RGB)

The RGB color system is based on the components Red, Green and Blue. Each color will have specific numerical values for the amounts of Red, Green and Blue that make it up. These numbers will range from 0 to 255 for each of the three.

HTML colors are specified as six digits xxxxxx which are actually three two-digit numbers in sequence, representing the amount of red, green, or blue as a hexadecimal value in the range of 00-FF.

The number of possible colors is 256*256*256 = 16,777,216.

 

hexadecimal
decimal

 

   



 

Help
increases the decimal value by 16
decreases the decimal value by 16
sets the decimal value to 0
sets the decimal value to 255


The RGB Color System:

 

Web Links

RGB Color Codes and Names

Colors

RGB Browser Colors

[Fork from http://www.jgiesen.de/javascript/HTML/index.htm]

 

© 2000-2010 Juergen Giesen

Last update: 2009 Dec 18