Color Converter
Type a color in any format, HEX, RGB, or HSL, and get every other format at once, including the Discord decimal integer used for role and embed colors.
The Discord integer equals red times 65536 plus green times 256 plus blue, and it ignores any alpha channel. Paste it into a role color, embed, or bot config.
Color conversion, explained
Which color formats can I convert?+
Paste any HEX (#rgb, #rrggbb, or #rrggbbaa), rgb()/rgba(), or hsl()/hsla() value. The tool detects the format automatically and shows every other representation at once, plus the Discord decimal integer.
What is the Discord color integer?+
Discord stores role and embed colors as one base-10 number instead of a hex string. It is computed as red times 65536 plus green times 256 plus blue. For example #5865F2 (Discord blurple) becomes 5793266.
How are HEX, RGB, and HSL related?+
They all describe the same pixel. HEX and RGB list red, green, and blue channels (0 to 255), while HSL uses hue, saturation, and lightness, which is often easier for picking shades and tints. This tool keeps all three in sync.
Does it support transparency and alpha?+
Yes. Include an alpha value (an 8-digit hex like #5865F2CC, or the fourth argument in rgba/hsla) and the swatch shows it over a checkerboard. Note the Discord integer ignores alpha, since Discord colors are opaque.
Is the color converter free?+
Yes. It is completely free with no login or account, and every conversion runs locally in your browser, so your colors never leave your device.
Related tools
All tools โMore in General Tools.

