color(Get)
Creates a new RGB / CMYK color and adds it to the document, or gets a color by name from the document. The default color mode is RGB.
Type: function
Parameter(s):
- Get {String | Numbers}:
color: the color name. Create new color: GRAY,[name] / R,G,B,[name] / C,M,Y,K,[name]. Name is always optional.
Returns:
-
{Color}:
Found or new color