Color32FromArgb(Int32) Method

Creates a Color32 structure from a 32-bit ARGB value.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.1.1
C#
public static Color32 FromArgb(
	int argb
)

Parameters

argb  Int32
A value specifying the 32-bit ARGB value. As a hex value it can be specified as 0xAA_RR_GG_BB where AA is the most significant byte (MSB) and BB is the least significant byte (LSB).

Return Value

Color32
A Color32 structure from the specified 32-bit ARGB value.

See Also