Color.HSLColorWheel()

<static> HSLColorWheel(s, l) → {array}

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

Parameters
Name Type Argument Default Description
s number <optional>
0.5

The saturation, in the range 0 - 1.

l number <optional>
0.5

The lightness, in the range 0 - 1.

Returns
array -

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

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

Please login to continue.