CSS - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


CSS Color Palette

 

Description

Examples

Description

• 

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

 

 

 









 

Examples

You can reference colors in the palette by name or number in most commands that understand color names.

plotx,x3,x=1..1,color=CSS 1,CSS Orange

CColorTools:-ColorCSS 10

CRGB : 0 0.502 0.502

(1)

You can programmatically access the colors using ColorTools commands

PColorTools:-GetPaletteCSS

PPalette CSS:BlackRedMaroonOrangeYellowOliveLimeGreenAquaTealBlueNavyFuchsiaPurpleGraySilverWhite

(2)

P1

RGB : Black

(3)

ColorTools:-SwatchesP

See Also

ColorTools[DisplayPalette]

ColorTools[Palette]

plots[setcolors]