ColorTools
GetPalette
return a color palette
Calling Sequence
Parameters
Description
Examples
Compatibility
GetPalette(N)
N
-
string used to identify the palette
The GetPalette command returns the Palette object associated with the name N. The string is not case-sensitive.
withColorTools:
GetPalettespring
Palette Spring:BlueRoseYellowGreenBlueGreenVioletCobaltYellowPurpleRedGreenBluePaleGreenOrangePurpleGreenSeaBluePaleYellowPaleBlueGreen
GetPaletteniagara
Palette Niagara:BurgundyNavyLeafGreenAzurePurpleBlueGreenVioletDeepBlueCinnamonPaleRedGreenishBlueDarkRoseBluishGreenDarkOrchidBluishPurpleOlive
GetPalettedalton
Palette Dalton:SkyBlueVermillionYellowBlueOrangeReddishPurpleBluishGreenPaleOrangePurpleBlack
P≔PaletteRed=Color#f00,Blue=Color#00f,Green=Color#0f0
P≔Palette:RedBlueGreen
AddPalettePrimary,P
bright,dalton,executive,mono,nautical,niagara,oldplots,patchwork,spring,css,cvd,cvd2,cvd3,html,maplev,x11,resene,generic,xterm,solarized,xkcd,beersrm,inferno,magma,plasma,viridis,cividis,turbo,twilight,colorwheel,coolwarm,divergebjy,divergebkr,divergebky,divergebwy,divergegwv,divergerainbow,isocircle,isoluminant,labwheel,rainbow,hue,rgbwheel,primary
GetPaletteprimary
Palette Primary:RedBlueGreen
The ColorTools[GetPalette] command was introduced in Maple 16.
For more information on Maple 16 changes, see Updates in Maple 16.
See Also
ColorTools[PaletteNames]
Download Help Document