7.1 About color
A system color map generally has
) entries, where depth is the depth of the system display. The number of colors a system can show at any one time is the number of entries in the color map. The total number of different colors a system can display depends on the integer range with which the system allows you to specify the display value of the red, green, and blue color components. The Window Tool Kit allows a specification of 16 bits, or the range between 0 and 65535, for each component of a color.
You can only have as many different colors as the underlying host system allows. For example, if the underlying host system allows 8 bits to specify each component of a color, rather than 16, the total number of different colors that the system can display is
24). If the underlying system allows the same precision as the Window Tool Kit, the total number of different colors is
Note: Some of the functions and constants in the Window Tool Kit use the abbreviation mdc to stand for "machine-dependent color" and the abbreviation mic to stand for "machine-independent color.
Generated with Harlequin WebMaker