![]() |
MapLink Pro Studio 11.1
|
The Web Safe palette contains the 216 web-safe colours, plus an additional 18 grey-scale colours, as shown below. User-defined colours are not supported for this palette.
The web safe colours are uniformly distributed in RGB space, where R, G and B values range from 0 to 255; the palette is formed by incrementing R, G and B systematically in units of 51. Thus the web-safe sequence proceeds as follows:
Red | Green | Blue | |
0 | 0 | 0 | (black) |
0 | 0 | 51 | |
0 | 0 | 102 | |
0 | 0 | 153 | |
0 | 0 | 204 | |
0 | 0 | 255 | |
0 | 51 | 0 | |
0 | 51 | 0 | |
0 | 51 | 51 | |
... | |||
255 | 255 | 255 | (white) |
The Web Safe palette has the advantage that the 216 standard colours defined above are guaranteed to be supported without dithering on Windows and Macintosh platforms, and in the Internet Explorer and Netscape browsers, hence the name. The two major disadvantages are as follows:
Use the web safe palette whenever you cannot be sure that all users of the software will have access to 16-bit or 24-bit colour.