Phaser API Documentation

  Version: 
setColor(color)

Description:

Set the text fill color.

Parameters:

name type description
color string

The text fill color.

Returns:
Description:

The parent Text object.

Since: 3.0.0