Skip to content
ServaDiscord
  • Features
  • Pricing
Start building
DISCORD TOOLS

Discord Hex to Decimal Converter

Convert hex color codes to the decimal integers Discord uses for role and embed colors — and back.

#

Discord Hex to Decimal Color Converter FAQ

Discord's API stores embed and role colors as a single integer, so a hex code such as #5865F2 has to be written as the decimal 5793266.

Enter the hex code without worrying about the leading #. The converter shows the decimal value to use in your embed JSON.

Yes. Paste the decimal and it returns the matching hex code.

Blurple, #5865F2, is 5793266.

From 0 to 16,777,215, which covers every six-digit RGB hex color.

Related guides

  • Embed color: hex to decimal
  • How to make a Discord embed

Ready to build your Discord server?

Convert hex colors to Discord integers, then design roles and embeds with ServaDiscord.

Start building
ServaDiscord

Deploy Discord servers and bots, your way.

  • X / Twitter
  • YouTube
  • Discord
  • Reddit
  • Email

Product

  • Pricing
  • Interfacing
  • How it works

Documentation

  • Getting Started
  • Changelog

Company

  • About
  • Blog
  • Affiliate

Legal

  • Privacy Policy
  • Terms and Conditions
  • Cookie Policy
ServaDiscord

We are not affiliated, associated, authorized, endorsed by, or in any way officially connected with any company, agency, or brand mentioned on this site.

© 2026 ServaDiscord