Skip to main content

S Property

Gets the Saturation component in the range from 0..1 (percentage).

Definition​

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public double S { get; }

Property Value​

Double

Remarks​

  • 0 is fully white (or a shade of gray) and shows no color.
  • 1 is the full color.

See Also​

Reference​

HslColor Structure
Avalonia.Media Namespace