COLOR keyword

Changes the color of text or shape. Applies to objects created with TEXT, RECT and CIRCLE.

Syntax

COLOR object, color, strokeColor, strokeSize

Parameters

  • object: object (required)
  • color: main color (required)
  • strokeColor: stroke color; if not specified, removes stroke
  • strokeSize: stroke size in pixels

Example

COLOR myText, #ffffff
COLOR myText, #ffffff, #7414B4
COLOR myText, #ffffff, #7414B4, 6
COLOR myRect, #000000, #0094FF

Go back to list of Keywords.