CSS Color Palette
Description
Examples
The CSS dictionary palette is the 17 color names in the W3C Cascading Style Sheet standard.
ColorTools:-DisplayPalette("CSS");
1. Black
2. Red
3. Maroon
4. Orange
5. Yellow
6. Olive
7. Lime
8. Green
9. Aqua
10. Teal
11. Blue
12. Navy
13. Fuchsia
14. Purple
15. Gray
16. Silver
17. White
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=CSS 1,CSS Orange
C≔ColorTools:-Color⁡CSS 10
C≔〈RGB : 0 0.502 0.502〉
You can programmatically access the colors using ColorTools commands
P≔ColorTools:-GetPalette⁡CSS
P≔Palette CSS:⁢Black⁢Red⁢Maroon⁢Orange⁢Yellow⁢Olive⁢Lime⁢Green⁢Aqua⁢Teal⁢Blue⁢Navy⁢Fuchsia⁢Purple⁢Gray⁢Silver⁢White
P1
〈RGB : Black〉
ColorTools:-Swatches⁡P
See Also
ColorTools[DisplayPalette]
ColorTools[Palette]
plots[setcolors]
Download Help Document