$setDrawColor

The function "setDrawColor" sets the color used by the draw functions (possible values(optionally preceded by a light | dark): black | blue | cyan | gray | green | magenta | orange | ping | red | white | yellow or a hexadecimal rgb value in the form #RRGGBB).
Syntax
    $setDrawColor {color}
DocumentationThe function "setDrawColor" sets the color used by the draw functions (possible values
(optionally preceded by a light | dark): black | blue | cyan | gray |green | magenta | orange |
ping | red | white | yellow or a hexadecimal rgb value in the form #RRGGBB).

    Parameters:
      color, color you will set
    Note:
      Using the Image/Draw functions, the content-type of the template needs to be 'image/gif'
Examples
    $createImage{200}{200}
    $setDrawColor{yellow}
    $fillRectangle{0}{0}{199}{199}

    Result:
    in the image with a width of 200/200; a yellow rectangle with the size 199/199
    appears
GroupGraphic
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 2