construct a color data structure
string designating a known color space; "RGB" by default
coordinates of the color in the given color space
color format recognized by ColorTools
The Color procedure is a constructor for a color data structure. This data structure is recognized by most ColorTools commands and many plot commands.
The parameter colorspace can be any of the color spaces listed on the ColorTools/ColorSpaces help page.
Color structures can be indexed as lists. Two structures are considered equal only if their distance (in the CIE76 metric) is less than 10−Digits2.
Colors can be constructed with names
〈RGB : 0.471 0 0.0549〉
〈HSV : 0.981 1 0.471〉
or with coordinates in the specified space
〈RGB : 0.5 0.6 0.6〉
〈HSV : 0.5 0.6 0.6〉
〈XYZ : 0.5 0.6 0.6〉
They can be indexed as lists using either numeric or character indices
G≔〈RGB : 0 0.502 0〉
G2≔〈Lab : 46.2 -51.7 49.9〉
Two colors can be the same even if they are specified in difference color spaces
The ColorTools[Color] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
Download Help Document
What kind of issue would you like to report? (Optional)