Each pair of HEX CODE digits represents the levels of
RED,
GREEN and
BLUE required to achieve the defined color.
The range of each pair of digits is from 00 to FF Hexadecimal,
or 00 to 255 Decimal. This yields 256 3 or 16,777,216 possible colors.
The same colors may be obtained in an application such as MS Word,
or Excel, by selecting "MORE FILL COLORS", then "CUSTOM".
Set the RED,
GREEN and
BLUE values
to the Decimal equivalent of the appropriate part of the HEX CODE.
Some examples are listed below.
Primary Colors
PURE RED : Red only is at maximum.
HEX CODE FF 00 00
DECIMAL
255
00
00
PURE GREEN : Green only is at maximum.
HEX CODE 00 FF 00
DECIMAL
00
255
00
PURE BLUE : Blue only is at maximum.
HEX CODE 00 00 FF
DECIMAL
00
00
255
Secondary Colors
YELLOW : Red and green only are at maximum.
HEX CODE FF FF 00
DECIMAL
255
255
00
CYAN : Green and blue only are at maximum.
HEX CODE 00 FF FF
DECIMAL
00
255
255
MAGENTA : Red and blue only are at maximum.
HEX CODE FF 00 FF
DECIMAL
255
00
255
Shades of Gray
BLACK : All color settings are at zero.
HEX CODE 00 00 00
DECIMAL
00
00
00
GRAY : All color settings are equal, at a medium level.
HEX CODE 80 80 80
DECIMAL
128
128
128
HEX CODE C0 C0 C0
DECIMAL
192
192
192
HEX CODE DF DF DF
DECIMAL
223
223
223
WHITE : All color settings are at maximum.
HEX CODE FF FF FF
DECIMAL
255
255
255
Varying the Color Settings
Higher primary color settings will produce brighter colors.
MAROON
HEX CODE 77 33 00
DECIMAL
119
51
00
SALMON
HEX CODE FA 80 72
DECIMAL
250
128
114
ORCHID
HEX CODE BA 55 D3
DECIMAL
186
85
211
KHAKI
HEX CODE 80 80 00
DECIMAL
128
128
00
TAN
HEX CODE C4 8F 35
DECIMAL
196
143
53
PURPLE
HEX CODE 70 0A 99
DECIMAL
112
10
153
The primary color settings may be varied to produce any
desired final color. In many cases, there is little difference between colors from a
practical point of view. Consider the blue variations below. Each primary color in
the sequence is incremented by a value of one.
HEX CODE 18 9D FB
DECIMAL
18
157
251
HEX CODE 19 9E FC
DECIMAL
19
158
252
HEX CODE 20 9F FD
DECIMAL
20
159
253
HEX CODE 21 A0 FE
DECIMAL
21
160
254
HEX CODE 22 A1 FF
DECIMAL
22
161
255
The primary color components in the table below are separated by a value
of 40 Hex, or 64 Decimal. (The first increment is 3F Hex, or 63 Decimal; 00 is also
a number). Green increases from left to right. Red is increased
by groups of five cells, from top to bottom. The blue component is incremented
within each group of five, also increasing from top to bottom.