!D.N_Colors
The number of simultaneously available colors. In the case of devices with windows, this field is set after the window is initialized. For monochrome systems, !D.N_Colors is 2, and for color systems it is normally 256.