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
C≔〈RGB : 0.741 0.494 0.471〉
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
P≔Palette Nautical:⁢GrayBlue⁢Red⁢DarkGray⁢Olive⁢LightBlue⁢Gray⁢GrayViolet⁢DarkGreen⁢DarkBlue⁢PaleRed⁢DarkPurpleRed⁢PaleGreenBlue⁢DarkOrange⁢PaleBluePurple⁢DarkPurple⁢PaleGreen
P1
〈RGB : Gray 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=line
ColorTools algorithms will automatically generate new colors beyond the main 16 colors:
P20
〈RGB : 0.741 0.677 0.471〉
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
〈RGB : 0.315 0.411 0.501〉
Lookup⁡P,1,shade=point
〈RGB : 0.136 0.243 0.333〉
See Also
ColorTools
ColorTools[DisplayPalette]
ColorTools[Palette]
ColorTools[Palettes][Lookup]
plots[setcolors]
Download Help Document