Get Started
Documentation

SetColor

SetColor(r, g, b, [isAuto]) → { ApiTextPr }

Set the text color for the current text run in the RGB format.

Parameters:

Name Type Default Description
r byte

Red color component value.

g byte

Green color component value.

b byte

Blue color component value.

isAuto boolean false

If this parameter is set to "true", then r,g,b parameters will be ignored.

Returns:

Type
ApiTextPr