2.50 .colorcount
With this attribute of the setup object the number of colors supported by the screen can be queried.
In multiscreen systems (IDM for Motif only) the attribute returns the value for the default screen.
Definition
-
Data type
integer
-
Access
get
Remark
On Microsoft Windows .colorcount may return -1 for screens supporting more than 256 colors.