Phaser API Documentation

  Version: 
<static> HSVColorWheel([s], [v])

Description:

Get HSV color wheel values in an array which will be 360 elements in size.

Parameters:

name type arguments Default description
s number <optional> 1

The saturation, in the range 0 - 1.

v number <optional> 1

The value, in the range 0 - 1.

Returns:
Description:

An array containing 360 elements, where each contains a single numeric value corresponding to the color at that point in the HSV color wheel.

Since: 3.0.0