Table of Contents

Method GetBrightness

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

GetBrightness()

Gets the hue-saturation-lightness (HSL) lightness value for this Color structure.

public double GetBrightness()

Returns

double

The lightness of this Color. The lightness ranges from 0.0 through 1.0, where 0.0 represents black and 1.0 represents white.