Discord Embed Color Picker
The Discord embed color picker converts between hex color codes and the decimal RGB values Discord's API uses for embed stripes. Pick a color visually and copy the value your bot or webhook needs.
What is a Discord embed color?
Discord embeds display a colored bar on the left side of a message card. That bar color comes from a single integer field in the embed JSON. Discord stores it as a decimal RGB value, not a hex string.
When you set an embed color in a bot library or webhook payload, you need the decimal number. If you only have a hex code from a design tool, you convert it first. This picker handles both directions at the same time.
How to use the color picker
Move the color picker over your desired color. As you drag, the decimal value updates instantly in the output field. The hex code updates at the same time.
The preview stripe below the picker shows what the color looks like as an embed bar. The stripe uses a 6-pixel left border on a white card, which is close to how the actual embed stripe appears in Discord.
Copy the decimal value when you need a number for JSON. Copy the hex code when a design tool or CSS file is the destination.
Decimal vs hex in Discord embeds
Hex colors are six characters with a # prefix, like #5865F2 for Discord blurple. Decimal colors are a single integer, like 5793266. Discord's API and most bot libraries accept the decimal integer directly in JSON.
If you paste a decimal into a field that expects hex, it will be interpreted as a much larger number and produce an unexpected color. If you paste hex into a field that expects decimal, JSON parsing will likely fail or produce garbage. Know which format the tool you are using expects.
Matching your server palette
Many servers pick a brand color from their server icon. Open the icon in an image editor and use the color picker tool inside that software to read the hex value, then paste or pick it here to get the decimal.
If you are redesigning and want a few related colors, pick a base hue and adjust saturation or lightness in the picker. The decimal will change significantly between similar-looking colors because the RGB space does not map linearly to perception.
Using the decimal in JSON
In a webhook or bot JSON payload, the color field takes the raw decimal integer. It is usually unquoted in the JSON object. For example: {"embeds":[{"title":"Update","color":5793266}]}.
JavaScript bot libraries sometimes accept hex literals like 0x5865F2. Most webhook endpoints want the decimal string in the JSON body. When in doubt, check the library or service documentation for the expected type.
Accessibility notes
The embed stripe is decorative. Do not use color alone to communicate meaning in an embed — always pair it with text labels, a clear title, or a description that stands on its own. This ensures members who use high-contrast or dark themes still get the information.
Test embeds in both light and dark Discord themes. A pale stripe on a white background may be hard to see in light mode. Very dark colors near black can look invisible on dark mode.
Limitations and edge cases
The color input accepts standard hex values. It does not accept CSS color names like 'rebeccapurple' or HSL values directly. Copy the hex from a design tool if you have one.
Discord blurple #5865F2 converts to 5793266, which is the most common reference point. If you are copying from an existing embed and want to match its color, enter the hex code you see in a screenshot and adjust from there.
Explore more discord tools on Tolz.me.