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
C≔〈RGB : 0.698 0.859 0.239〉
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
P≔Palette Executive:⁢Blue⁢Red⁢Green⁢Purple⁢Cyan⁢Orange⁢PurplishBlue⁢BluishGreen⁢GreenishBlue⁢GreenishYellow⁢PurplishRed⁢VividPurple⁢PaleBluishGreen⁢VividBlue⁢OrangishRed⁢PaleRedPurple
P1
〈RGB : Blue〉
n≔numcolors⁡P
n≔16
plot⁡seq⁡sin⁡x+i⁢πn,i=1..n,x=0..2⁢π,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
〈RGB : 0.147 0.218 0.301〉
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
〈RGB : 0.147 0.343 0.549〉
Lookup⁡P,1,shade=point
〈RGB : 0.065 0.285 0.493〉
See Also
ColorTools
ColorTools[DisplayPalette]
ColorTools[Palette]
ColorTools[Palettes][Lookup]
plots[setcolors]
Download Help Document