![]() |
|
Navigation |
Synopsis Return a color with a given name.
Function
Description Returns color with given name.
All HTML/X11 Color Names
![]() alpha is given, the color is adjusted accordingly.
The list of available color names is given by colorNames.
Examples
c = color("Red"); b1 = box([size(50), fillColor(c)]); render(b1);gives ![]() c = color("Red", 0.5); b1 = box([size(50), fillColor(c)]); render(b1);gives ![]() ![]() |