Struct DiscordColor
A structure representing color data from the Discord API.
Inherited Members
Namespace: Discore
Assembly: Discore.dll
Syntax
public struct DiscordColor
Constructors
| Name | Description |
|---|---|
| DiscordColor(byte, byte, byte) | Creates a new DiscordColor instance. |
Fields
| Name | Description |
|---|---|
| B | The blue component of the color. |
| G | The green component of the color. |
| R | The red component of the color. |
Properties
| Name | Description |
|---|---|
| EmbedDefault | The default color used by Discord for embeds. |
Methods
| Name | Description |
|---|---|
| FromHexadecimal(int) | Converts an Int32 containing a hexadecimal number into a DiscordColor. |
| ToHexadecimal() | Packs this DiscordColor into an Int32 representing a hexadecimal number. |
| ToString() |