lightness property

double get lightness

This color's lightness, a percentage between 0 and 100.

Implementation

double get lightness {
  if (_lightness == null) _rgbToHsl();
  return _lightness!;
}