lightness property

double get lightness

The HSL lightness, from 0.0 (black) through 0.5 (pure colour) to 1.0 (white).

Implementation

double get lightness => hsl.lightness;