Tolz.me

Discord Embed Color Picker

Convert hex colors to Discord embed decimal color values.

Embed preview stripe

Discord embeds use a colored left bar like this.

Decimal color (for embed JSON)
5793266
Hex color
#5865f2

About this tool

Pick a color visually and copy the decimal RGB value Discord embeds need, plus the matching hex code. The live preview shows how the color looks as an embed stripe.

Browse more discord tools or explore all Tolz.me tools.

Try other relevant tools

Frequently asked questions

Why does Discord use decimal instead of hex for embed colors?+

Discord's API accepts embed colors as a decimal integer. If your bot library or webhook expects a number, use the decimal. If it expects a string, use the hex code. Using the wrong format is the most common reason embed colors fail to render.

What is Discord blurple in decimal?+

#5865F2 converts to 5793266. That is the default when you open the color picker.

Can I paste a hex code directly into the picker?+

The color input is a visual picker, not a text field. To use a specific hex, pick a color close to it first, then note the hex output and fine-tune from there. For exact hex matching, open the picker in a design tool and use the same color.

Do both the decimal and hex outputs update at the same time?+

Yes. Move the picker and both values update instantly. Copy whichever format your destination requires.

Can I use this to match my server's role colors?+

Open your server icon in an image editor, use its color picker on the main color, and note the hex value. Then use this picker to convert it to the decimal Discord uses for embeds.

Does the preview accurately show the embed stripe?+

The preview uses a 6-pixel left border on a white card, which matches how Discord renders the stripe on desktop. Mobile clients may render slightly narrower stripes. The color itself is accurate.

Is this tool free?+

Yes. All conversions run in your browser with no account needed.

Use cases

  • Match embed stripe colors to your server icon for consistent branding.
  • Convert existing hex color codes from a design file into the decimal format bots expect.
  • Check the decimal value of a color you see in another embed.
  • Pick a new accent color and see both formats ready to paste into your bot config.

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.

Related tools