Skip to content

$color

$color will change the color of an embed

Usage

$color[index?;hex]

Parameters

FieldTypeDescriptionRequired
index?numberThe embed index.false
hexstringThe hex color or color name (supported color names below).true
Embed Colors c Default
c White
c Aqua
c Green
c Blue
c Yellow
c Purple
c LuminousVividPink
c Fuchsia
c Gold
c Orange
c Red
c Grey
c Navy
c DarkAqua
c DarkGreen
c DarkBlue
c DarkPurple
c DarkVividPink
c DarkGold
c DarkOrange
c DarkRed
c DarkGrey
c DarkerGrey
c LightGrey
c DarkNavy
c Blurple
c Greyple
c DarkButNotBlack
c NotQuiteBlack
c Random

Example(s)

This will return a red embed:

1
client.command({
2
name: "color",
3
code: `
4
$description[What a nice color!]
5
$color[Red]
6
`
7
});
1
client.command({
2
name: "color",
3
code: `
4
$description[What a nice color!]
5
$color[ED4245]
6
`
7
});