Allows you to get or set the current color space for the
color.
This property is defined in terms of the number of components in
the color space. RGB colors have three components. CMYK colors have
four components. Grayscale colors have only one component. So the
values you can use are one, three or four to indicate Grayscale,
RGB or CMYK respectively.
If you change the value of this property, the current color will
automatically be converted to the indicated color space. However,
different color spaces have fundamentally different properties, and
color conversions can only ever be approximate.
|