ColorTools - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Graphics : Packages : ColorTools : ColorTools/GetColorNames

ColorTools

 GetColorNames
 list builtin color names

 Calling Sequence GetColorNames()

Options

 • new : boolean; indicates whether to restrict to new color names (true), old color names (false), or no restriction (the default)

Description

 • 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.

Examples

 > $\mathrm{with}\left(\mathrm{ColorTools}\right):$
 > $\mathrm{GetColorNames}\left('\mathrm{new}'=\mathrm{false}\right)$
 $\left[{"aquamarine"}{,}{"black"}{,}{"blue"}{,}{"brown"}{,}{"coral"}{,}{"cyan"}{,}{"gold"}{,}{"gray"}{,}{"green"}{,}{"grey"}{,}{"khaki"}{,}{"magenta"}{,}{"maroon"}{,}{"navy"}{,}{"orange"}{,}{"pink"}{,}{"plum"}{,}{"red"}{,}{"sienna"}{,}{"tan"}{,}{"turquoise"}{,}{"violet"}{,}{"wheat"}{,}{"white"}{,}{"yellow"}\right]$ (1)

Compatibility

 • The ColorTools[GetColorNames] command was introduced in Maple 16.
 • For more information on Maple 16 changes, see Updates in Maple 16.

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam