TheFancyFonts logoTheFancyFonts

Discord Color Text Generator

Discord has no built-in text color picker, but its code blocks quietly support ANSI terminal color codes — wrap a message in a ```ansi block and Discord's own client renders those codes as real colored text instead of showing them as literal characters.

This generator builds that block for you: add one or more colored segments, pick a foreground color, background color, bold, or underline for each, and copy the finished code straight into a Discord message box.

This only renders on Discord desktop and browser, not the mobile app, so it's best for server announcements, pinned messages, and bot embeds rather than anything a mobile-only audience needs to read.

Quick Presets

Segment 1

Text Color

Highlight

Segment 2

Text Color

Highlight

Segment 3

Text Color

Highlight

Segment 4

Text Color

Highlight

Segment 5

Text Color

Highlight

Discord Preview

Discord Color Text

Approximates Discord's dark theme code block — only desktop and browser clients render this, not mobile.

Copy this into Discord (63/2000)
```ansi
Discord Color Text
```

Why this works differently from the rest of the site's generators

Every font generator on this site swaps letters for lookalike Unicode characters, so the output is still one plain-text string. This tool does the opposite: it wraps your unchanged text in real ANSI escape codes, the same color-control sequences a terminal uses, inside a ```ansi fenced code block. Discord's client is one of the only chat apps that parses those codes into color instead of displaying them as text, which is why this trick doesn't work in a plain message, an Instagram bio, or most other apps.

Mixing multiple colors in one message

Add as many segments as your message needs — each one keeps its own foreground color, background color, bold, and underline setting, and they all concatenate into a single ```ansi block in the order you add them. That's how a lot of real Discord announcements get several different colors (or a highlighted keyword) inside one message instead of picking one color for the whole thing.

Foreground vs. background colors

Foreground colors recolor the letters themselves and are the ones most people reach for first. Background colors instead paint a colored highlight block behind the text, which reads more like a tag or label than colored writing — useful for a short status word ("ONLINE", "CLOSED") rather than a full sentence.

Desktop and browser only — the one real limitation

Discord's mobile apps (iOS and Android) don't render ```ansi color codes at all; they show the raw escape sequence as visible junk characters around your text. If your server is mostly read on phones, save this for pinned messages, bot embeds, or channels you know your audience reads on desktop.

Frequently Asked Questions

Why doesn't colored text show up for everyone in my server?

+

ANSI color codes only render on Discord's desktop app and browser client. Members on the iOS or Android app will see the raw escape codes as extra characters instead of color.

Do I need a bot or Nitro to use colored text?

+

No — this is a plain-text trick built entirely out of a ```ansi code block, which any account can post in any server or DM. No bot, plugin, or Nitro subscription is involved.

Can I use more than one color in the same message?

+

Yes — add multiple segments above, each with its own color and style, and copy the combined output. That's the main advantage over a single-color tool.

Why did my colors disappear after I edited the message?

+

Make sure the whole block, including the opening ```ansi line and the closing ``` line, stays intact — deleting or retyping around those fence lines breaks Discord's code-block detection and the codes render as plain text again.

Is this the same trick as the Unicode fonts on the rest of this site?

+

No. Unicode styles (bold, gothic, cursive, and the rest) are a different character substitution and work anywhere plain text goes, including mobile. This tool builds ANSI color codes instead, which is a Discord-specific trick that only renders on desktop and browser.

Can I use this for a Discord bot's embed or webhook message?

+

Yes, as long as the bot posts the raw text (including the ```ansi fence) into a normal message field rather than a rich embed color property, which uses Discord's separate embed-color system instead.