Share via


Color.FromUint(UInt32) Method

Definition

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".

Applies to