![]() |
|
Navigation |
Synopsis A standard palette of 12 colors.
Function
str palette(int n)
Description Provides a color name from a palette of 12 good distinguishable colors.
Examples
boxes = [ box([size(50), fillColor(palette(i))]) | int i <- [0 .. 11] ]; render(hcat(boxes));gives: ![]()
Pitfalls Arguments outside the interval [0,11] are mapped to
"black" .
![]() |