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
ColorTools:-Color⁡RGB,0.14117647,0.14117647,0.14117647
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
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,BlackishGray,WhitishGray,NeutralGray,DarkGray,LightGray,LightNeutralGray,VeryDarkGray,VeryLightGray,DarkNeutralGray,Gray14,Gray71,Gray27,Gray56,Gray20,Gray64,Gray31,Grey31=Gray31,BlackishGrey=BlackishGray,VeryDarkGrey=VeryDarkGray,LightNeutralGrey=LightNeutralGray,Grey14=Gray14,WhitishGrey=WhitishGray,DarkNeutralGrey=DarkNeutralGray,Grey71=Gray71,Grey56=Gray56,VeryLightGrey=VeryLightGray,Grey27=Gray27,LightGrey=LightGray,DarkGrey=DarkGray,Grey64=Gray64,Grey20=Gray20,NeutralGrey=NeutralGray,palettename=Mono,palettetype=fill
P1
ColorTools:-Color⁡RGB,0.17254902,0.17254902,0.17254902,caption=Blackish Gray
ColorTools algorithms will automatically generate new colors beyond the main 16 colors:
P20
ColorTools:-Color⁡RGB,0.07198686004635516,0.22598029994889957,0.24926409994258258
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
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
ColorTools:-Color⁡RGB,0.02114500,0.02528991,0.02610486
Lookup⁡P,1,shade=point
ColorTools:-Color⁡RGB,0.,0.,0.
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)