Method FromRgb
- Namespace
- LMKit.Graphics.Primitives
- Assembly
- LM-Kit.NET.dll
FromRgb(int)
Creates an opaque Color32 from a packed 24-bit RGB integer (0xRRGGBB).
public static Color32 FromRgb(int rgb)Parameters
- rgbint
- Packed integer in the form 0xRRGGBB. 
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)