B: Integer;
The B property returns the blue component of the color from 0 to 255.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
i: Integer;
Begin
i:=Panel1.Color.B;
End Sub Button1OnClick;
After executing the example on clicking the button the "i" variable contains the blue color component of the panel named Panel1.
See also: