Skip to content
Gizmetto

Discord Text Color Generator

This Discord text color generator turns your message into colored text: select words, pick a color, copy, paste.

2 colored parts, ready to copy

Select words in the box, then pick a color. With nothing selected, a color goes on the whole message.

Text color

Background

Preview, close to how Discord shows the message

You Today

Welcome to the server! Read the rules before you post.

Then paste it into a Discord message and send.

Runs in your browser. Nothing is sent anywhere. Not affiliated with Discord.

How to type in color on Discord

Discord has no color button. Colored text works through a trick: a code block tagged ansi, with ANSI escape codes in front of the words. Discord reads the codes and paints the words, the way a terminal does. The codes start with an invisible escape character, so this generator writes them for you.

  1. Step 1Type your messageWrite or paste it in the box. Line breaks and emoji are fine.
  2. Step 2Select words and pick a colorSelect a word, then tap a text color, a background, Bold or Underline. Select another word for the next color.
  3. Step 3Copy and paste into DiscordTap Copy for Discord, paste into the message box and send. The colors show in the Discord desktop app.
Discord text color generator output: an ansi code block with escape codes on the left, and the message with a bold green word and an underlined red word as Discord shows it on the right
Each colored part starts with a code such as ␛[1;32m (bold, green) and ends with ␛[0m, which resets the style.

With nothing selected, a color goes on the whole message. Bold and Underline switch off again with a second tap. Open Code in the tool to see what you are about to paste, with the escape character shown as ␛.

Colors Discord supports

Discord's help article on Markdown text formatting explains code blocks but does not list ANSI colors. The list below is the set that Discord users tested and wrote up, for example in this widely shared guide to colored text on Discord and the colored text generator by rebane2001: 8 text colors, 8 backgrounds, bold and underline. The names are how most guides describe the colors; the exact shades depend on the app and theme, and the preview above shows close shades, not Discord's exact ones.

ANSI codes for colored text in Discord
ColorText codeBackground code
Gray (background: black)3040
Red3141
Green3242
Yellow3343
Blue3444
Pink3545
Cyan3646
White3747
Bold1
Underline4
Reset everything0

Codes join with a semicolon, so ␛[1;4;33m is bold, underlined yellow text. A text color and a background can go on the same words.

Does colored text show on mobile?

On a computer, yes: the Discord desktop app shows the colors in an ansi code block. On phones it has varied. One of the guides above says the phone apps did not show ANSI colors when it was written, and Discord changes its apps often, so a phone may show the colors or plain text in a code block. The message itself is the same either way: readers on a phone see your words, just possibly without the colors.

You can make the code on your phone, though. This generator works in a phone browser: select words, tap a color, tap Copy for Discord, then paste into the Discord app.

Other Discord formatting

For everything that is not color, Discord uses Markdown. These are from Discord's own Markdown Text 101 article. They work in normal messages, but not inside a code block, so you cannot mix them with colored text in the same block.

Discord Markdown formatting and how to type it
StyleType this
Italics*italics* or _italics_
Bold**bold**
Underline__underline__
Strikethrough~~strikethrough~~
Spoiler||spoiler||
Headers# big, ## smaller, ### smallest
Block quote> one line, >>> many lines
Code block```text```

To tell a server when an event starts, in each member's own time zone, use the Discord timestamp generator. A timestamp is a separate code and does not work inside a code block, so send it in its own line next to the colored block.

FAQ

How do you type in color on Discord?

Put the text in a code block tagged ansi and add ANSI escape codes before the words you want colored, such as the code 31 for red. Typing the escape character by hand is hard, so use a generator: select the words, pick a color, copy and paste.

Why does my colored text show as plain text?

Either the code block lost its ansi tag or the invisible escape characters, which happens when you retype the code instead of pasting it, or the Discord app you read it in does not show ANSI colors. Copy it again from the generator and check it in the desktop app.

Can I use any color, such as a hex color?

Not reliably. The 8 text colors (codes 30 to 37) and 8 backgrounds (40 to 47) are the ones users report working in Discord. Guides also mention 24-bit color codes, but reports of them working are mixed, so this tool sticks to the 16 colors.

Can I color text in a nickname, channel name or bio?

No. The colors only work inside a code block in a message, because that is where Discord reads the ansi tag.

Does colored text work in embeds from bots?

Bots can send the same ansi code block in a normal message. Test anything else, such as an embed, in your own server before you rely on it.

Is this a fancy font generator?

No. It does not swap your letters for look-alike Unicode symbols. Your text stays normal text, and only the color changes.

Related tools

All everyday tools

Maintained by Updated Nov 9, 2026.