hexToHpluv static method

List<double> hexToHpluv(
  1. String s
)

HSLuv values are ranging in 0;360, 0;100 and 0;100 and RGB in 0;1. @param hex A #RRGGBB representation of a color. @return An array containing the color's HSL values in HPLuv (pastel variant) color space. */

Implementation

static List<double> hexToHpluv(String s) {
  return rgbToHpluv(hexToRgb(s));
}