Bright Color Palette
Description
Examples
The Bright plot palette is a collection of bright variants of primary and secondary colors. It is designed for coloring collections of filled areas. There are six main colors in the palette as well as ten more named colors.
ColorTools:-DisplayPalette("Bright",noextend);
1. Blue
2. Red
3. Green
4. Purple
5. Cyan
6. Orange
7. DarkBlue
8. BluishGreen
9. ReddishPurple
10. DarkRed
11. DarkGreenishBlue
12. GreenishYellow
13. DarkBlueGreen
14. DarkGreenishYellow
15. PurpleRed
16. VividGreen
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=Bright 2,Bright Blue
C≔ColorTools:-Color⁡Bright 10
C≔〈RGB : 0.6 0.0392 0〉
You can make Bright the default palette in plots using setcolors
plots:-setcolors⁡Bright:
You can programatically access the colors using ColorTools commands
P≔ColorTools:-GetPalette⁡Bright
P≔Palette Bright:⁢Blue⁢Red⁢Green⁢Purple⁢Cyan⁢Orange⁢DarkBlue⁢BluishGreen⁢ReddishPurple⁢DarkRed⁢DarkGreenishBlue⁢GreenishYellow⁢DarkBlueGreen⁢DarkGreenishYellow⁢PurpleRed⁢VividGreen
P1
〈RGB : 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=point,symbol=solidcircle
ColorTools algorithms will automatically generate new colors beyond the main 16 colors:
P20
〈RGB : -0.00142 0.22 0.301〉
The Bright 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.06 0.279 0.698〉
Lookup⁡P,1,shade=point
〈RGB : -0.00173 0.211 0.636〉
See Also
ColorTools
ColorTools[DisplayPalette]
ColorTools[Palette]
ColorTools[Palettes][Lookup]
plots[setcolors]
Download Help Document