Saturation: Double;
The Saturation property returns color saturation.
The returned value is in the range from 0.0 to 1.0.
Executing the example requires a form with the button named Button1 on it and the Panel component named Panel1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
d: Double;
Begin
d:=Panel1.Color.Saturation;
End Sub Button1OnClick;
After executing the example on clicking the button the "d" variable contains the color saturation of the panel named Panel1.
See also: