Real Colors

Colors are specified using three real numbers (ie ones with a decimal point) in the form R G B where each number defines the amount of red (R), green (G) and blue (B) in a color. The valid numbers are from 0.0 to 1.0 inclusive.

Below is a table showing 216 example colors and their real notations:

0.0 0.0 0.0 0.0 0.0 0.2 0.0 0.0 0.4 0.0 0.0 0.6 0.0 0.0 0.8 0.0 0.0 1.0
0.0 0.2 0.0 0.0 0.2 0.2 0.0 0.2 0.4 0.0 0.2 0.6 0.0 0.2 0.8 0.0 0.2 1.0
0.0 0.4 0.0 0.0 0.4 0.2 0.0 0.4 0.4 0.0 0.4 0.6 0.0 0.4 0.8 0.0 0.4 1.0
0.0 0.6 0.0 0.0 0.6 0.2 0.0 0.6 0.4 0.0 0.6 0.6 0.0 0.6 0.8 0.0 0.6 1.0
0.0 0.8 0.0 0.0 0.8 0.2 0.0 0.8 0.4 0.0 0.8 0.6 0.0 0.8 0.8 0.0 0.8 1.0
0.0 1.0 0.0 0.0 1.0 0.2 0.0 1.0 0.4 0.0 1.0 0.6 0.0 1.0 0.8 0.0 1.0 1.0
0.2 0.0 0.0 0.2 0.0 0.2 0.2 0.0 0.4 0.2 0.0 0.6 0.2 0.0 0.8 0.2 0.0 1.0
0.2 0.2 0.0 0.2 0.2 0.2 0.2 0.2 0.4 0.2 0.2 0.6 0.2 0.2 0.8 0.2 0.2 1.0
0.2 0.4 0.0 0.2 0.4 0.2 0.2 0.4 0.4 0.2 0.4 0.6 0.2 0.4 0.8 0.2 0.4 1.0
0.2 0.6 0.0 0.2 0.6 0.2 0.2 0.6 0.4 0.2 0.6 0.6 0.2 0.6 0.8 0.2 0.6 1.0
0.2 0.8 0.0 0.2 0.8 0.2 0.2 0.8 0.4 0.2 0.8 0.6 0.2 0.8 0.8 0.2 0.8 1.0
0.2 1.0 0.0 0.2 1.0 0.2 0.2 1.0 0.4 0.2 1.0 0.6 0.2 1.0 0.8 0.2 1.0 1.0
0.4 0.0 0.0 0.4 0.0 0.2 0.4 0.0 0.4 0.4 0.0 0.6 0.4 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1.0
0.8 0.6 0.0 0.8 0.6 0.2 0.8 0.6 0.4 0.8 0.6 0.6 0.8 0.6 0.8 0.8 0.6 1.0
0.8 0.8 0.0 0.8 0.8 0.2 0.8 0.8 0.4 0.8 0.8 0.6 0.8 0.8 0.8 0.8 0.8 1.0
0.8 1.0 0.0 0.8 1.0 0.2 0.8 1.0 0.4 0.8 1.0 0.6 0.8 1.0 0.8 0.8 1.0 1.0
1.0 0.0 0.0 1.0 0.0 0.2 1.0 0.0 0.4 1.0 0.0 0.6 1.0 0.0 0.8 1.0 0.0 1.0
1.0 0.2 0.0 1.0 0.2 0.2 1.0 0.2 0.4 1.0 0.2 0.6 1.0 0.2 0.8 1.0 0.2 1.0
1.0 0.4 0.0 1.0 0.4 0.2 1.0 0.4 0.4 1.0 0.4 0.6 1.0 0.4 0.8 1.0 0.4 1.0
1.0 0.6 0.0 1.0 0.6 0.2 1.0 0.6 0.4 1.0 0.6 0.6 1.0 0.6 0.8 1.0 0.6 1.0
1.0 0.8 0.0 1.0 0.8 0.2 1.0 0.8 0.4 1.0 0.8 0.6 1.0 0.8 0.8 1.0 0.8 1.0
1.0 1.0 0.0 1.0 1.0 0.2 1.0 1.0 0.4 1.0 1.0 0.6 1.0 1.0 0.8 1.0 1.0 1.0

NB The above table contains what is known as the "web safe" color palette, it is also known by the following names: browser-safe palette, Netscape palette, 216 color palette, Web palette or 6x6x6 color cube.

Historical note: It's purpose was to provide a consistent palette of colors for a wide variety of browsers and operating systems which at the time usually had 256 colors (8-bit).

The reason that 216 colors were used out of the possible palette of 256 colors is that this allowed an even sampling of color throughout the color space that can be realised on most displays by dividing it up into areas which represent one-sixth of the possible values of all color components of red, green and blue - hence we get a cube which has 6 possible areas of red, 6 of green and 6 of blue which together make up 6x6x6 = 216 combinations.

Today most screens are viewed in True color which uses 24-bits and uses the full range of 256 possible values for each red, green and blue color component which give 256x256x256 = 16777216 colors.

However, this can be quite daunting for non-artists to work with and the web safe palette is a useful starting point when considering color schemes.