ColorTools
GetColorNames
list built-in color names
Calling Sequence
Parameters
Options
Description
Examples
Compatibility
GetColorNames()
GetColorNames(P)
P
-
Palette object or the string with the name of a known palette
new = boolean; indicates whether to restrict to new color names (true), old color names (false), or no restriction (the default)
all : if not specified, only displayable colors will be returned (this is only really useful for palettes specified in non-RGB color spaces).
aliases : if specified, aliases will be returned as well. This option only applies when a palette is specified.
The GetColorNames procedure produces a list of the (translated) color strings recognized by ColorTools without specifying a palette. When new=true, only new color names are returned, while for new=false only old color names are returned. If unset, both sets of color names are returned.
If a palette is specified all the displayable colors in that palette will be returned as a list.
The ColorTools[GetColorNames] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
ColorTools/Palette
ColorTools:-GetPalette
Download Help Document