[Startseite Einführungskurs HTML]

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.






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

See the form code

See the JavaScript code

The RGB Color System:


Web Links

RGB Color Codes and Names


RGB Browser Colors

[Startseite Einführungskurs HTML]


© 2000-2010 Juergen Giesen

Last update: 2009 Dec 18