Discord Colored Text Generator
Add color, bold, and underline to messages using ANSI code blocks.
Highlight text, then apply a color or style. Renders on desktop and web; some mobile clients show no color.
Colored text on Discord, explained
Discord does not have a normal way to color text, but it does highlight code blocks. When you tag a code block with ansi, Discord reads ANSI escape codes inside it and paints the text. This tool writes those codes for you and shows a live preview of the result.
How to use the colored text generator
- Type your message in the text box.
- Turn on bold or underline if you want them.
- Pick a text color and, optionally, a background color.
- Check the preview, then click Copy ANSI code block and paste it into Discord.
Available colors
Discord supports eight text colors (gray, red, green, yellow, blue, pink, cyan, and white) and eight background colors. These come from a fixed terminal palette, so the exact shade is decided by Discord, not by a hex value you choose.
Good uses for colored text
- Highlighting server rules or important notices.
- Making welcome messages and announcements stand out.
- Color-coding sections of a long staff or info post.
Frequently asked questions
Discord renders colors inside a code block tagged with the ansi language. The block contains ANSI escape codes that set a text color, background color, and styles like bold or underline. This generator builds that block for you.
It always shows on the desktop app and the web app. Some versions of the mobile app render the text without color, so treat color as a nice extra rather than something every member will see.
No. ANSI in Discord supports a fixed 4-bit palette: eight text colors and eight background colors. This tool shows the full set. There is no way to use arbitrary hex colors in a normal message.
Make sure the whole block is wrapped in triple backticks with ansi on the first line, and that you copied it with the Copy button so the hidden escape characters come along. Pasting only the visible letters will not work.
Yes, by placing more than one escape sequence inside the same ansi block. This tool styles a single piece of text, which covers most needs. For multi-color messages you can stack the sequences by hand.
Related tools
Discord Text Formatter
Add bold, italic, spoilers, code blocks, and more with a live markdown preview.
Open toolDiscord Timestamp Generator
Build dynamic <t:…> timestamps that show every member their own local time.
Open toolDiscord Snowflake Decoder
Turn any Discord ID into its creation date and the internal snowflake parts.
Open toolRun your whole support desk on Discord
Ticket Tool turns these building blocks into a real support system: panels, automated flows, transcripts, and analytics.