NUMCOLORS top-level constant
int
const NUMCOLORS
Number of entries in the device's color table, if the device has a color depth of no more than 8 bits per pixel. For devices with greater color depths, 1 is returned.
Implementation
const NUMCOLORS = 24;