Method FromRgb
FromRgb(int)
Creates an opaque Color32 from a packed 24-bit RGB integer (0xRRGGBB
).
public static Color32 FromRgb(int rgb)
Parameters
rgb
int
Returns
FromRgb(int, byte)
Creates a Color32 from a packed 24-bit RGB integer (0xRRGGBB
) and an alpha.
public static Color32 FromRgb(int rgb, byte a)