Gaming

Discord Colored Text Generator

Updated November 2026 · By Minhaz

Discord has no color button, but it can show colored text inside an ansi code block. This Discord colored text generator writes that code for you: type your message, pick colors, and copy it straight into any server or DM.

Make colored Discord text

Text color
Highlight
Style
Preview

Tip: build your message part by part. Each "Add to message" keeps its own color.

How to use the Discord color text generator

  1. Type a word or sentence in the Text box.
  2. Pick a text color, and a highlight if you want a background.
  3. Add bold or underline to make it stand out.
  4. Tap "Add to message". Repeat for each colored part, and use New line for a new row.
  5. Tap "Copy for Discord" and paste it in the message box. Send it as is, including the three backticks.

How colored text works on Discord

Discord colors text inside code blocks marked as ansi. The generator adds small color codes, like [0;31m for red, before each part of your text. Discord hides the codes and shows the colors instead. That is why the copied text starts with ```ansi and ends with ```: remove them and the colors disappear.

Discord text colors you can use

Discord supports eight text colors: gray, red, green, yellow, blue, pink, cyan and white, plus eight highlight colors and bold or underline. The exact shades depend on your Discord theme.

Discord colored text examples to copy

Announcement
RED ALERT server restart in 5 min
Status line
✔ Online ⚠ Idle ✖ Busy
Rules header
Rules
1. Be kind
2. No spam

Does Discord colored text work on mobile?

Colors show in the Discord app on Windows, Mac and Linux, and in the browser. On the iPhone and Android app, the same message may appear as plain text in a code block. For styled text that looks the same everywhere, use the Discord font generator instead, which uses fancy letters rather than colors.

Frequently asked questions

How do you type in color on Discord?

Write your text inside a code block that starts with ```ansi, and add color codes like [0;31m before the words. This generator adds the codes for you, so you only pick colors and copy.

What colors can Discord text be?

Discord ANSI text supports gray, red, green, yellow, blue, pink, cyan and white, plus eight background highlights, bold and underline.

Why is my Discord colored text not working?

Make sure you copied everything, including ```ansi at the start and ``` at the end, and that you are using Discord on a computer or in a browser. The mobile app may show the message without colors.

Can I make red text in Discord?

Yes. Pick Red as the text color, tap Add to message and copy. The code for red is [0;31m, or [1;31m for bold red.

Can I change the font color of my Discord name?

No. Name colors come from server roles that admins set. Colored text only works in messages, but you can style your name with fancy fonts from the Discord font generator.

Is this Discord color text generator free?

Yes, it is free with no sign-up and no bot to install.

More free tools