Photoshop Tutorial - Web Safe Colors
Screen colours are created by mixing various values of red, green and
blue. In older monitors which use an 8 bit colour system - where the
hardware only supports 256 colours or a gif image is restricted to 256
colours, the range of colour options available to us is limited. A blend
or gradient is created by 'dithering'. Pixels close to each other are
given colour values which mean that the image as a whole displays the
required appearance. The problem with this is that dithering is performed
differently on different machines and the resulting image appearance
can be unreliable.
One solution is to use a colour set which is 'agreed' between all computers.
This is referred to as the 'web safe' color palette. While the name
implies it is only applicable to the web, it is important wherever a
cathode ray tube is used to display images, eg also on multimedia and
in-store displays. In Photoshop and on web pages, colors are represented
by values for Red, Green and Blue (RGB) channels. Web safe colors are
particular combinations of RGB values. The acceptable values for each
channel are given below:
| Percentage |
Red |
Green |
Blue |
Red |
Green |
Blue |
| 0% |
0 |
0 |
0 |
00 |
00 |
00 |
| 20% |
51 |
51 |
51 |
33 |
33 |
33 |
| 40% |
102 |
102 |
102 |
66 |
66 |
66 |
| 60% |
153 |
153 |
153 |
99 |
99 |
99 |
| 80% |
204 |
204 |
204 |
CC |
CC |
CC |
| 100% |
255 |
255 |
255 |
FF |
FF |
FF |
The only time where web safe colours should not be used in Photoshop
is where there is continual change in tone or in photographs.
Hexadecimal numbers.
Web safe colors, like other color values in Photoshop, are based on
a hexadecimal numbering system. Our normal numbering system is a decimal
system, ie there are 10 digits from 0 to 9. In a hexadecimal numbering
system there are 16 digits. As we haven't got a single numerical character
for any value over 9, letters 'a' to 'f' are used. Hexadecimal numbers
may be represented as below:
| Decimal |
Hexadecimal |
Decimal |
Hexadecimal |
| 0 |
0 |
18 |
12 |
| 1 |
1 |
19 |
13 |
| 2 |
2 |
20 |
14 |
| 3 |
3 |
21 |
15 |
| 4 |
4 |
22 |
16 |
| 5 |
5 |
23 |
17 |
| 6 |
6 |
24 |
18 |
| 7 |
7 |
25 |
19 |
| 8 |
8 |
26 |
1a |
| 9 |
9 |
27 |
1b |
| 10 |
a |
28 |
1c |
| 11 |
b |
29 |
1d |
| 12 |
c |
30 |
1e |
| 13 |
d |
31 |
1f |
| 14 |
e |
32 |
20 |
| 15 |
f |
33 |
21 |
| 16 |
10 |
34 |
22 |
| 17 |
11 |
35 |
23 |
|