Table of Contents

Method GetSaturation

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

GetSaturation()

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

public double GetSaturation()

Returns

double

The saturation of this Color. The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.