[Startseite JavaScript] 

 

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

See the form code

See the JavaScript code


The RGB Color System:

Web Links

Farben beim Farbfernseher

Java RGB Color Tester

Lonster's RGB to HEX Tanslator

RGB Color Codes and Names

Colors

RGB Browser Colors

RGB Color System

The JavaSript was successfully tested using:

    Internet Explorer 5.0 Macintosh Edition

   Netscape Communicator 4.75 English

   iCab Preview 2.2

 

© Juergen Giesen

Letzte Änderung: