Phaser API Documentation

  Version: 
ColorObject
Properties:
name type description
r number

The red color value in the range 0 to 255.

g number

The green color value in the range 0 to 255.

b number

The blue color value in the range 0 to 255.

a number

The alpha color value in the range 0 to 255.

Type:
object
Since: 3.0.0