xtd 0.2.0
Loading...
Searching...
No Matches

◆ get_lightness()

float xtd::drawing::color::get_lightness ( ) const
noexcept

Gets the hue-saturation-lightness (HSL) lightness value for this xtd::drawing::color structure.

Returns
The lightness of this xtd::drawing::color. The lightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.