Discord Colored Text Generator
Color your Discord messages using ANSI code blocks — manually, or let the tool color it for you automatically.
This is an unofficial tool, it is not made or endorsed by Discord.
Discord has no color button. This tool builds the ANSI code block that adds color for you. You can color words by hand, or let the tool do it. There are four modes: manual, letter rainbow, word rainbow, and auto-color for chosen words. Copy the block and paste it into chat.
How to Use It
Most color tools only let you highlight and click, one word at a time. That works fine for a short line. It gets slow when you have a 20-line announcement. So this tool gives you three shortcuts on top of the manual mode.
Mode 1: Manual
- Type or paste your message in the box.
- Highlight a word, then click a text color.
- Repeat for the other words, then click Copy.
Use this when only two or three words need color.
Mode 2: Letter Rainbow
- Type your message.
- Click Letter Rainbow.
- Every letter gets the next color in the cycle. Click Copy.
This one looks great on short lines like a welcome banner. It gets busy on long paragraphs.
Mode 3: Word Rainbow
- Type your message.
- Click Word Rainbow.
- Each whole word gets one color. Click Copy.
Word Rainbow stays readable much longer than Letter Rainbow. Pick this for anything over one line.
Mode 4: Specific Words
- Type or paste your message.
- Add the words you want colored, like
errororonline. - Pick a color for each word, then click Copy.
The tool finds every match on its own. If the word “error” shows up nine times across 30 lines, all nine turn red in one click. You never scroll and highlight.
💡 Pro Tip: Build a Status Palette
Pick one color per status and keep it the same forever. Red for ERROR, yellow for WARNING, green for SUCCESS. Set those three once in Specific Words mode. Now you can paste any bot log or mod announcement and color every match in one click. After two or three posts, your members stop reading every line. They just scan for red.
Mix Color With Fancy Fonts
Color and font style are two separate things, so you can stack them. Pick a style in the Discord Fancy Text Generator, copy that text, then paste it here and add color.
One heads-up: code blocks use a monospace font. Some fancy styles sit unevenly inside them. Check the preview before you send it to a big server.
Announcements With a Countdown
Making a time-sensitive post? Add a live countdown with the Discord Timestamp Generator, then color the important lines here.
Put the timestamp above or below the colored block, never inside it. Code blocks switch off all other formatting. A timestamp inside the block shows up as raw code instead of a real time.
⚠️ Common Mistake
Don’t route the code through Word, Google Docs, or a notes app. The colors rely on a hidden character that no keyboard can type. Word processors swap it out or delete it. Your message then lands in Discord as a plain gray box. Copy straight from this tool into Discord, and keep the opening
```ansiline and the closing backticks.
Where This Works
Colors show up in the Discord desktop app and in a web browser. On the mobile apps, most people see a plain gray code block instead. The text stays fully readable there. It just loses the color.
So keep the meaning in the words, not only in the color. Write ERROR: server restarting rather than a red line that says server restarting. Then it reads the same on every device.
Colored text also lives only inside messages. Nicknames, channel names, server names, and bios all show plain text.
FAQ
Why is my text showing up plain instead of colored?
Something stripped the hidden escape character, or the code block got broken. Check that your message starts with three backticks followed by ansi on the same line. Check that it ends with three backticks too. If you copied it through a word processor or a notes app, go back and copy it straight from this tool.
What is an ANSI code block?
It is a code block with ansi written after the opening backticks. ANSI color codes come from old computer terminals from the 1970s. Discord reads them inside that one type of block and paints the text. A normal message ignores them completely.
Is colored text an official Discord feature?
Not really. Discord never added a color button, and it does not document this anywhere. The rendering has worked since 2022 and stays stable, but Discord could change it. Nothing here breaks any rule.
Can I build my own color scheme?
Yes, that is what Specific Words mode is for. Add your own words and pick a color for each one. Your setup stays in place while you work, so you can paste message after message and color them the same way each time.
Can I use custom hex colors like #FF5733?
No. Discord only reads eight text colors and eight background colors. Those are gray, red, green, yellow, blue, pink, cyan, and white. Hex and RGB values do nothing here.
Do people on phones see the colors?
Usually not. The iOS and Android apps show the block as plain monospace text. Everything stays readable, so nothing is lost except the color. If your server is mostly mobile, lean on bold and headers instead.
Can I put colored text in my nickname or a channel name?
No. This only works inside message content. For a fancy nickname, use Unicode characters instead of color.
Why does my gray text look almost invisible?
Gray sits very close to the dark code block background. Switch to white for high contrast. Save gray for side notes you want people to skim past.