Method FromHexadecimal
| Improve this Doc View SourceFromHexadecimal(int)
Converts an Int32 containing a hexadecimal number into a DiscordColor.
Declaration
public static DiscordColor FromHexadecimal(int hex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | hex | The hexadecimal Int32. |
Returns
| Type | Description |
|---|---|
| DiscordColor | Returns the converted color. |