Phaser API Documentation

  Version: 
<static> IntegerToColor(input)

Description:

Converts the given color value into an instance of a Color object.

Parameters:

name type description
input number

The color value to convert into a Color object.

Returns:
Description:

A Color object.

Since: 3.0.0