darkest property

O darkest

Returns the color with the lowest lightness value.

Implementation

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