Color.FromUint(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a new Color with the requested RGBA value.
public static Xamarin.Forms.Color FromUint (uint argb);
static member FromUint : uint32 -> Xamarin.Forms.Color
Parameters
- argb
- System.UInt32
A uint that represents the ARGB value of the color.
Returns
An RGBA color.
Remarks
The argb
parameter must represent an unsigned integer that can be represented by hexadecimal string that matches the format "AARRGGBB".