将hsl()颜色字符串转换为值数组。
hsl()
hsl 字符串 e.g. hsl(50, 10%, 10%)
e.g. hsl(50, 10%, 10%)
hsl值数组
https://www.30secondsofcode.org/js/s/to-hsl-array
toHSLArray('hsl(50, 10%, 10%)'); // [50, 10, 10] Copy
toHSLArray('hsl(50, 10%, 10%)'); // [50, 10, 10]
将
hsl()颜色字符串转换为值数组。