Self ng.Color.set_hsl (Array value) vs. 1.1.0 Full+Lite

This method will set the color value using an HSL array.

Parameters

Array value Required vs. 1.1.0 Full+Lite
An array that holds the hue, saturation and lightness values [HUE, SATURATION, LIGHTNESS], e.g. [0, 100, 100] for red. Since version 1.1.4, the alpha value can be passed as the 4th index of the array.

Return

Self Required vs. 1.1.0 Full+Lite
The original color.

Examples

Using ng.Color.set_hsl(value)
Demo: