Mono Color Palette
Description
Examples
The Mono plot palette is a sorted selection of shades of gray. It is designed for coloring filled areas. There are nine main shades in the palette as well as seven more named shades.
ColorTools:-DisplayPalette("Mono",noextend);
1. BlackishGray
2. WhitishGray
3. NeutralGray
4. DarkGray
5. LightGray
6. LightNeutralGray
7. VeryDarkGray
8. VeryLightGray
9. DarkNeutralGray
10. Gray14
11. Gray71
12. Gray27
13. Gray56
14. Gray20
15. Gray64
16. Gray31
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=Mono BlackishGray,Mono 3
C≔ColorTools:-Color⁡Mono 10
C≔〈RGB : 0.141 0.141 0.141〉
You can make Mono the default palette in plots using setcolors
plots:-setcolors⁡Mono:
You can programmatically access the colors using ColorTools commands
P≔ColorTools:-GetPalette⁡Mono
P≔Palette Mono:⁢BlackishGray⁢WhitishGray⁢NeutralGray⁢DarkGray⁢LightGray⁢LightNeutralGray⁢VeryDarkGray⁢VeryLightGray⁢DarkNeutralGray⁢Gray14⁢Gray71⁢Gray27⁢Gray56⁢Gray20⁢Gray64⁢Gray31
P1
〈RGB : Blackish Gray〉
ColorTools algorithms will automatically generate new colors beyond the main 16 colors:
P20
〈RGB : 0.072 0.226 0.249〉
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
The Mono 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.0211 0.0253 0.0261〉
Lookup⁡P,1,shade=point
〈RGB : 0 0 0〉
See Also
ColorTools
ColorTools[DisplayPalette]
ColorTools[Palette]
ColorTools[Palettes][Lookup]
plots[setcolors]
Download Help Document