DiscordLua
discorddiscord
v1.2.4
Install

Colors

Enum
On this page

discord.Colors lists the named constants for this enumeration. Prefer these names over hardcoded literals.

Values

discord.Colors.Default
0x000000
Default. Use the symbolic name in bot code rather than the raw value.
discord.Colors.White
0xFFFFFF
White. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Aqua
0x1ABC9C
Aqua. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Green
0x57F287
Green. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Blue
0x3498DB
Blue. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Yellow
0xFEE75C
Yellow. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Purple
0x9B59B6
Purple. Use the symbolic name in bot code rather than the raw value.
discord.Colors.LuminousVividPink
0xE91E63
Luminous Vivid Pink. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Fuchsia
0xEB459E
Fuchsia. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Gold
0xF1C40F
Gold. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Orange
0xE67E22
Orange. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Red
0xED4245
Red. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Grey
0x95A5A6
Grey. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkAqua
0x11806A
Dark Aqua. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkGreen
0x1F8B4C
Dark Green. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkBlue
0x206694
Dark Blue. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkPurple
0x71368A
Dark Purple. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkVividPink
0xAD1457
Dark Vivid Pink. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkGold
0xC27C0E
Dark Gold. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkOrange
0xA84300
Dark Orange. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkRed
0x992D22
Dark Red. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkGrey
0x979C9F
Dark Grey. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkerGrey
0x7F8C8D
Darker Grey. Use the symbolic name in bot code rather than the raw value.
discord.Colors.LightGrey
0xBCC0C0
Light Grey. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkNavy
0x2C3E50
Dark Navy. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Blurple
0x5865F2
Blurple. Use the symbolic name in bot code rather than the raw value.
discord.Colors.Greyple
0x99AAB5
Greyple. Use the symbolic name in bot code rather than the raw value.
discord.Colors.DarkButNotBlack
0x2C2F33
Dark But Not Black. Use the symbolic name in bot code rather than the raw value.
discord.Colors.NotQuiteBlack
0x23272A
Not Quite Black. Use the symbolic name in bot code rather than the raw value.

Usage

Read members as discord.Colors.Name. Do not hard-code numeric literals when a symbolic name exists.

Example

lua
local discord = require("discord")
print(discord.Colors.Default)
Search Ctrl K Navigate Open Esc