Hexadecimal Representation and Web Page Colors

Colors and their Hexadecimal Values

The Primary Colors

FF0000 = Red
00FF00 = Green
0000FF = Blue

Black

000000 = Black

Different shades of Green

00BB00
009900
006600
003300

Some Basic Combinations of Primary Colors

FFFF00 = Yellow (Red + Green)
00FFFF = Cyan (Green + Blue)
FF00FF = Magenta (Red + Blue)

Other Combinations

AAAAAA
7755CC
ABCDEF

Background color can also be set in the same manner

For example the background color of this page is set to FFFFFF which is the value for the color white.

Return to the main page