lightenHsl function
returns a lightened hsl array. amount
is a value in the range [0, 1]
Implementation
List<num> lightenHsl(num amount, List<num> color) {
var h = color[0];
var s = color[1];
var l = color[2];
return [h, s, _clampNorm(l + (l * amount))];
}