The index specifies a color index in the color palette. The r, g, and b values (between 0-1) specify the RGB values (or the HSV values if the -hsv flag is used) for the color.
Indicates that rgb values are really hsv values. Upon query, returns the HSV valuses as an array of 3 floats. Flag can have multiple arguments, passed either as a tuple or a list.
Resets all color index palette entries to their factory defaults.
Resets all color palette entries to their saved values.
Derived from mel command maya.cmds.colorIndex