clrSetHsl(color,hue,saturation,luminance)¶
Definition¶
String clrSetHsl(String color, Number hue, Number saturation, Number luminance)
Description¶
Sets the hue, saturation or luminance of the supplied color. Creates a new color if all three are supplied. Returns the resulting color in rrggbb format, or null if not a valid color.
Parameter Definition¶
Name | Type | Description |
---|---|---|
color | String | Default Color to update |
hue | Number | Hue componenet (0-65535) or null to leave default, not the number will role, ex: 65536 -> 0, -1 => 65535 |
saturation | Number | Saturation componenet (0-65535) or null to leave default |
luminance | Number | Luminance componenet (0-65535) or null to leave default |