Niagara Color Palette
Description
Examples
The Niagara plot palette is a subdued selection of colors inspired by Canada's Niagara wine region. It is designed for coloring collections of lines. There are nine main colors in the palette as well as seven more named colors.
ColorTools:-DisplayPalette("Niagara",noextend);
1. Burgundy
2. Navy
3. LeafGreen
4. Azure
5. Purple
6. BlueGreen
7. Violet
8. DeepBlue
9. Cinnamon
10. PaleRed
11. GreenishBlue
12. DarkRose
13. BluishGreen
14. DarkOrchid
15. BluishPurple
16. Olive
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=Niagara 1,Niagara Navy
C≔ColorTools:-Color⁡Niagara 10
C≔〈RGB : 0.569 0.255 0.29〉
You can make Niagara the default palette in plots using setcolors
plots:-setcolors⁡Niagara:
You can programatically access the colors using ColorTools commands
P≔ColorTools:-GetPalette⁡Niagara
P≔Palette Niagara:⁢Burgundy⁢Navy⁢LeafGreen⁢Azure⁢Purple⁢BlueGreen⁢Violet⁢DeepBlue⁢Cinnamon⁢PaleRed⁢GreenishBlue⁢DarkRose⁢BluishGreen⁢DarkOrchid⁢BluishPurple⁢Olive
P1
〈RGB : Burgundy〉
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.0032 -0.0014 0.00675〉
The Niagara 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.625 0.151 0.151〉
Lookup⁡P,1,shade=point
〈RGB : 0.357 0 0.032〉
See Also
ColorTools
ColorTools[DisplayPalette]
ColorTools[Palette]
ColorTools[Palettes][Lookup]
plots[setcolors]
Download Help Document