Discord embeds require the color as a decimal integer, not a hex string. For example, Blurple #5865F2 must be passed as 5793266 in the embed.color field. Pasting a hex string there will silently fail, which is the most common reason an embed color does not apply. Copy the Decimal value from this tool.
Free Tool
Discord Color Picker
Pick a color and get the hex, decimal, RGB, and JS 0x values you need for embed colors, role colors, and bot code. Copy with one click.
RGB
r
g
b
Discord colors
Hex
#5865F2
Decimal (embed.color)
5793266
RGB
rgb(88, 101, 242)
JavaScript
0x5865F2
Role color preview
ColoredMember
RegularMember
Embed color preview
Embed title
This is how your color appears as the left bar of a Discord embed.
This tool runs entirely in your browser. No data is sent to any server.
How to Use the Discord Color Picker
Three steps to the exact color value Discord expects
- 1
Pick a color
Use the color swatch, type a hex code, adjust the RGB sliders, or click one of the official Discord color swatches to start from a known value. - 2
Copy the format you need
The tool instantly shows the hex, decimal, RGB, and JavaScript 0x value. Click the copy button next to whichever format your use case calls for. - 3
Paste it into Discord or your bot
Use the decimal value for an embed color, the hex for a role color, or the 0x value directly in your bot code. The live preview shows exactly how it will look.
What Color Format Does Discord Use?
Discord uses different color formats in different places. The Discord client lets you set role colors with a familiar hex code like #5865F2. But the API and embeds are stricter: an embed color must be a decimal integer, so the same Blurple becomes 5793266.
That mismatch is why a paste of #5865F2 into an embed.color field silently fails. This tool converts your color into every form at once so you can grab the right one.
Discord Color Formats
| Format | Example (Blurple) | Where you use it |
|---|---|---|
| Hex | #5865F2 | Role colors, CSS, design tools |
| Decimal | 5793266 | Embed color, REST API, webhooks |
| RGB | rgb(88, 101, 242) | Design tools, image editing |
| 0x | 0x5865F2 | discord.js, discord.py, bot code |
What You Can Do With It
Embed colors. Discord embeds expect a decimal integer in the color field, not a hex string. Copy the decimal value straight into your webhook payload or embed builder.
Role colors. Role colors are set with a hex value in the Discord client. Pick your shade, copy the hex, and paste it into the role color editor.
Bot code. The 0x notation drops straight into discord.js, discord.py, and most libraries as a numeric color literal, so you never have to convert by hand.
Building a giveaway bot for your server? ScopliDrop runs branded, task-based giveaways with custom embed colors that match your community.
Frequently Asked Questions
Everything you need to know about Discord colors
Other Discord Tools
More free utilities by ScopliDrop
Run Giveaways That Match Your Brand
ScopliDrop runs branded, task-based giveaways with custom embed colors that fit your community. Pick your color here, then make it yours.