lightness property Null safety

num lightness

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

Implementation

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