convert a color format to a list of RGB values
ToRGB24( input )
ToRGB24( input, colorspace )
color format recognized by ColorTools
string specifying the color space of the input coordinates
The ToRGB24 procedure converts from any of the color formats recognized by ColorTools to a list of integer RGB values. If the input cannot be recognized as a color, an error is thrown.
In the second calling sequence, the input must be a list of coordinates in the color space specified by colorspace. For information on known color spaces, see ColorTools/ColorSpaces.
A list of 0 and 1 integers is ambiguous. ToRGB24 will treat them as floats.
The ColorTools[ToRGB24] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Download Help Document