Nautical Color Palette
Description
Examples
The Nautical plot palette is a dark subdued selection of colors chosen to evoke a maritime feel. It is designed for coloring collections of lines. There are seven main colors in the palette as well as nine more named colors.
ColorTools:-DisplayPalette("Nautical",noextend);
1. GrayBlue
2. Red
3. DarkGray
4. Olive
5. LightBlue
6. Gray
7. GrayViolet
8. DarkGreen
9. DarkBlue
10. PaleRed
11. DarkPurpleRed
12. PaleGreenBlue
13. DarkOrange
14. PaleBluePurple
15. DarkPurple
16. PaleGreen
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=Nautical 1,Nautical Red
C ≔ ColorTools:-Color⁡Nautical 10
ColorTools:-Color⁡RGB,0.74117647,0.49411765,0.47058824
You can make Nautical the default palette in plots using setcolors
plots:-setcolors⁡Nautical:
You can programatically access the colors using ColorTools commands
P ≔ ColorTools:-GetPalette⁡Nautical
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,GrayBlue,Red,DarkGray,Olive,LightBlue,Gray,GrayViolet,DarkGreen,DarkBlue,PaleRed,DarkPurpleRed,PaleGreenBlue,DarkOrange,PaleBluePurple,DarkPurple,PaleGreen,GreyBlue=GrayBlue,Grey=Gray,GreyViolet=GrayViolet,DarkGrey=DarkGray,palettename=Nautical,palettetype=line
P1
ColorTools:-Color⁡RGB,0.20000000,0.30196078,0.39215686,caption=Gray 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=line
ColorTools algorithms will automatically generate new colors beyond the main 16 colors:
P20
ColorTools:-Color⁡RGB,0.7411764700735965,0.6768382356845475,0.4705882399220053
The Nautical palette is designed for lines, but the Lookup command can provide slightly altered shades of its colors for use in coloring points or filling regions.
Lookup⁡P,1,shade=fill
ColorTools:-Color⁡RGB,0.3145717,0.4111239,0.5005399
Lookup⁡P,1,shade=point
ColorTools:-Color⁡RGB,0.1363961,0.2427475,0.3331369
See Also
ColorTools
ColorTools[DisplayPalette]
ColorTools[Palette]
ColorTools[Palettes][Lookup]
plots[setcolors]
Download Help Document