MobileForms Toolkit Documentation

ColorEx.FromArgb Method 

Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.

public static Color FromArgb(
int alpha,
int red,
int green,
int blue
);

Parameters

alpha
The alpha component. Valid values are 0 through 255.
red
The red component. Valid values are 0 through 255.
green
The green component. Valid values are 0 through 255.
blue
The blue component. Valid values are 0 through 255.

Return Value

The Color that this method creates.

See Also

ColorEx Class | Resco.Drawing Namespace