hex2hsl function

List<num> hex2hsl (
  1. String hex
)

returns a hex string

Implementation

List<num> hex2hsl(String hex) => rgb2hsl(hex2rgb(hex));