ConversionExtensions.ToARGB255
Extension Method in ConversionExtensions
Declaration
public static ARGB255 ToARGB255(this Color color)
Description
Converts the color to ARGB (alpha, red, green, blue) components in the range [0..255].
Parameters
color | The color to convert. |
Returns
ARGB255 | The ARGB components of the color. |
Overload
Declaration
public static ARGB255 ToARGB255(this Color color, int alpha)
Description
Converts the color to ARGB (alpha, red, green, blue) components in the range [0..255].
Parameters
color | The color to convert. |
alpha | The alpha component in the range [0..255]. |
Returns
ARGB255 | The ARGB components of the color. |