hsl2int static method

int hsl2int(
  1. int h,
  2. double s,
  3. double l
)

Converts HSL values to an integer.

Implementation

static int hsl2int(int h, double s, double l) {
  final List<int> rgb = hsl2rgb(h, s, l);
  return rgb2int(rgb[0], rgb[1], rgb[2]);
}