Executive Color Palette
Description
Examples
The Executive plot palette is a subdued selection of colors chosen to be similar to those used in professional document applications. It is designed for coloring filled areas. There are six main colors in the palette as well as ten more named colors.
ColorTools:-DisplayPalette("Executive",noextend);
1. Blue
2. Red
3. Green
4. Purple
5. Cyan
6. Orange
7. PurplishBlue
8. BluishGreen
9. GreenishBlue
10. GreenishYellow
11. PurplishRed
12. VividPurple
13. PaleBluishGreen
14. VividBlue
15. OrangishRed
16. PaleRedPurple
You can reference colors in the palette by name or number in most commands that understand color names.
plot⁡x,x3,x=−1..1,color=Executive 2,Executive Blue
C ≔ ColorTools:-Color⁡Executive 10
ColorTools:-Color⁡RGB,0.69803922,0.85882353,0.23921569
You can make Executive the default palette in plots using setcolors
plots:-setcolors⁡Executive:
You can programmatically access the colors using ColorTools commands
P ≔ ColorTools:-GetPalette⁡Executive
ColorTools:-Palette⁡moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,moduleColorTools:-Coloroptionobject;localcolorspace,coordinates,color_caption;end module,Blue,Red,Green,Purple,Cyan,Orange,PurplishBlue,BluishGreen,GreenishBlue,GreenishYellow,PurplishRed,VividPurple,PaleBluishGreen,VividBlue,OrangishRed,PaleRedPurple,,palettename=Executive,palettetype=fill
P1
ColorTools:-Color⁡RGB,0.27058824,0.45098039,0.65490196,caption=Blue
n ≔ numcolors⁡P
n≔16
plot⁡seq⁡sin⁡x+i⁢Pin,i=1..n,x=0..2⁢Pi,axes=boxed,color=:-GetColors⁡P1..n,legend=:-GetColorNames⁡P1..n,numpoints=25,style=point,symbol=solidcircle
ColorTools algorithms will automatically generate new colors beyond the main 16 colors:
P20
ColorTools:-Color⁡RGB,0.1473419000299175,0.2180713999238274,0.3014958999841355
The Executive palette is designed for filled areas, but the Lookup command can provide slightly altered shades of its colors for use in coloring points or lines.
Lookup⁡P,1,shade=line
ColorTools:-Color⁡RGB,0.1468811,0.3429886,0.5490374
Lookup⁡P,1,shade=point
ColorTools:-Color⁡RGB,0.06499736,0.2845595,0.4926028
See Also
ColorTools
ColorTools[DisplayPalette]
ColorTools[Palette]
ColorTools[Palettes][Lookup]
plots[setcolors]
Download Help Document
What kind of issue would you like to report? (Optional)