Phaser API Documentation

  Version: 
<static> HSLToColor(h, s, l)

Description:

Converts HSL (hue, saturation and lightness) values to a Phaser Color object.

Parameters:

name type description
h number

The hue value in the range 0 to 1.

s number

The saturation value in the range 0 to 1.

l number

The lightness value in the range 0 to 1.

Returns:
Description:

A Color object created from the results of the h, s and l values.

Since: 3.0.0