cm%u

Option Description
cm%u -destroy destroy a color map
cm%u -getColor [%u] without argument returns the 257x3 array of colormap entries; with an index between 0 and 256, returns the RGB color associated with that index
cm%u -kind returns the name of the object kind associated with a given object
cm%u -setColor [%u %u %u %u] modifies the color map entry : first value is the colormap index between 0 and 256 whereas the following three parameters are the RGB components of the color