Phaser API Documentation

  Version: 
saturate(amount)

Description:

Increase the saturation of this Color by the percentage amount given. The saturation is the amount of the base color in the hue.

Parameters:

name type description
amount number

The percentage amount to change this color by. A value between 0 and 100.

Returns:
Description:

This Color object.

Since: 3.13.0