Method ToRGBA
ToRGBA(uint)
Converts a 32-bit hexadecimal value to a color value.
Declaration
public static Color ToRGBA(uint hex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | hex | A 32-bit hexadecimal value. |
Returns
| Type | Description |
|---|---|
| Color | A color value. |