Color.HSVColorWheel()

<static> HSVColorWheel(s, v) → {array}

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

Parameters
Name Type Argument 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
array -

An array containing 360 elements corresponding to the HSV color wheel.

Source code: utils/Color.js (Line 710)
doc_phaser
2017-02-14 10:42:05
Comments
Leave a Comment

Please login to continue.