Color.Argb(Int32, Int32, Int32, Int32) 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.
Builds a color by packing alpha, red, green, and blue integers.
public static Android.Graphics.Color Argb(int alpha, int red, int green, int blue);
static member Argb : int * int * int * int -> Android.Graphics.Color
Parameters
- alpha
- Int32
The alpha byte value, from zero to 255.
- red
- Int32
The red byte value, from zero to 255.
- green
- Int32
The green byte value, from zero to 255.
- blue
- Int32
The blue byte value, from zero to 255.
Returns
The packed color. Inputs are combined with bit shifts and are not range-checked.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.