GetAliases - Maple Help

ColorTools[Palette]

 GetAliases
 retrieve color alias mappings from a Palette object

 Calling Sequence GetAliases(P)

Parameters

 P - Palette object created with ColorTools:-Palette

Description

 • The GetAliases command returns all the aliases stored for the colors in P. For the included color collection these are normally alternate spellings.

Examples

 > $P≔\mathrm{ColorTools}:-\mathrm{GetPalette}\left("HTML"\right):$
 > $\mathrm{GetAliases}\left(P\right)$
 $\left[{"SlateGrey"}{=}{"SlateGray"}{,}{"Magenta"}{=}{"Fuchsia"}{,}{"Grey"}{=}{"Gray"}{,}{"LightGrey"}{=}{"LightGray"}{,}{"DarkSlateGrey"}{=}{"DarkSlateGray"}{,}{"DarkMagenta"}{=}{"DarkFuchsia"}{,}{"LightSlateGrey"}{=}{"LightSlateGray"}{,}{"NavyBlue"}{=}{"Navy"}{,}{"DimGrey"}{=}{"DimGray"}{,}{"DarkGrey"}{=}{"DarkGray"}{,}{"Aqua"}{=}{"Cyan"}\right]$ (1)

Compatibility

 • The ColorTools[Palette][GetAliases] command was introduced in Maple 16.