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
ColorTools:-Color⁡RGB,0.60000000,0.039215686,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
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,Blue,Red,Green,Purple,Cyan,Orange,DarkBlue,BluishGreen,ReddishPurple,DarkRed,DarkGreenishBlue,GreenishYellow,DarkBlueGreen,DarkGreenishYellow,PurpleRed,VividGreen,,palettename=Bright,palettetype=fill
P1
ColorTools:-Color⁡RGB,0.20000000,0.40000000,0.80000000,caption=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=point,symbol=solidcircle
ColorTools algorithms will automatically generate new colors beyond the main 16 colors:
P20
ColorTools:-Color⁡RGB,−0.0014167228132707132,0.22039999993274034,0.30084369992755555
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
ColorTools:-Color⁡RGB,0.05996480,0.2794001,0.6983809
Lookup⁡P,1,shade=point
ColorTools:-Color⁡RGB,−0.001725391,0.2110109,0.6358421
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)