Phaser API Documentation

  Version: 
<static> ColorToRGBA(color)

Description:

Converts the given color value into an Object containing r,g,b and a properties.

Parameters:

name type description
color number

A color value, optionally including the alpha value.

Returns:
Description:

An object containing the parsed color values.

Since: 3.0.0