How are colors supposed to look with v14?

I used to use HTML color codes but those seem to have been broken with v14?
DiscordAPIError[50035]: Invalid Form Body
embeds[0].color[NUMBER_TYPE_COERCE]: Value "#8C1149" is not int.
DiscordAPIError[50035]: Invalid Form Body
embeds[0].color[NUMBER_TYPE_COERCE]: Value "#8C1149" is not int.
4 Replies
d.js docs
d.js docs2y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Erin
Erin2y ago
erins-helper-bot@1.0.0 /root/helper-bot
`-- discord.js@14.0.3
erins-helper-bot@1.0.0 /root/helper-bot
`-- discord.js@14.0.3
NPM: 8.12.1 Is there a way to find a list of hex numbers for html color codes? I keep finding rgb values and html codes Oh, I just x between the first number and second number? Oh, okay makes sense. color: '#8C1149', that would be color: 0x8c1149 right?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Erin
Erin2y ago
Cool. Thanks everyone! ❤️