lightest property

O lightest

Returns the color with the highest lightness value.

Implementation

O get lightest => colors.reduce((color1, color2) {
      return color1.toHslColor().lightness < color2.toHslColor().lightness
          ? color2
          : color1;
    });