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
Ready to build your Discord server?
Convert hex colors to Discord integers, then design roles and embeds with ServaDiscord.
