Reference Guide > System Variables > !D.N_Colors
  

!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.

Version 2017.0
Copyright © 2017, Rogue Wave Software, Inc. All Rights Reserved.