CSS Color Palette - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Graphics : Packages : ColorTools : Color Collections : ColorTools/Collection/CSS

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

ColorTools:-ColorRGB,0.,0.50196078,0.50196078

(1)

You can programmatically access the colors using ColorTools commands

PColorTools:-GetPaletteCSS

ColorTools:-Palettemodule...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,module...end module,Black,Red,Maroon,Orange,Yellow,Olive,Lime,Green,Aqua,Teal,Blue,Navy,Fuchsia,Purple,Gray,Silver,White,Magenta=Fuchsia,Grey=Gray,Cyan=Aqua,palettename=CSS,palettetype=dictionary

(2)

P1

ColorTools:-ColorRGB,0.,0.,0.,caption=Black

(3)

ColorTools:-SwatchesP

See Also

ColorTools[DisplayPalette]

ColorTools[Palette]

plots[setcolors]