Hue: Double;
The Hue property returns the hue of the color in degrees from 0.0 to 360.0.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
d: Double;
Begin
d:=Panel1.Color.Hue;
End Sub Button1OnClick;
After executing the example on clicking the button the "i" variable contains the color hue of the panel named Panel1.
See also: