■ Discord Color Text

Discord Colored Text Generator

Pick a text and background color, type your message, and copy a ready-to-paste Discord code block.

Discord Color TextYour tool. Connected workflows.

Paste into Discord on desktop. ANSI colors show inside code blocks; mobile may show plain text.

Free tool guide

Get more from the Discord Color Text

By the SocialKit.tools team · Reviewed 4 November 2026 · 100% free, no sign-up

3 quick steps

How it works

  1. 1
    TYPE

    Type your message

    Write the text you want to post in Discord.

  2. 2
    COLOR

    Pick colours and styles

    Choose text and background colours, bold and underline for each part.

  3. 3
    PASTE

    Copy into Discord

    Copy the ANSI code block and paste it straight into any Discord channel.

The complete guide

Discord Color Text: everything you need to know

How colored text in Discord actually works

Discord doesn't have a built-in color picker for messages — but its code blocks support ANSI escape codes, the same coloring system old computer terminals used. When you wrap text in a code block tagged as ansi and add the right codes, Discord renders it in color. Doing that by hand means memorizing sequences like [2;31m — this tool writes them for you. Pick a text color, pick a background, type your message, and copy a ready-to-paste block.

Where colored text works (and where it doesn't)

Colored ANSI blocks render on the Discord desktop app and in browsers. On mobile, Discord currently shows the code block without colors — the text is still perfectly readable, it just falls back to plain formatting. Colors work in servers, group chats and DMs alike, because it's an ordinary message under the hood.

Good ways to use it

  • Server announcements — a red heading makes an update impossible to scroll past.
  • Rules and guides — color-code the do's in green and the don'ts in red.
  • Patch notes & changelogs — highlight "Added", "Fixed" and "Removed" lines differently.
  • Event messages — a colored block stands out in a busy channel far more than bold text.

Tips for readable colors

Not every combination reads well on Discord's dark theme. Light text (white, cyan, yellow) on dark backgrounds is easiest to read; red on dark backgrounds is great for warnings but tiring for long paragraphs. Keep colored sections short — a heading or a few key lines — and let normal text do the talking. If your server has members on light theme, test your block once, since a few backgrounds shift slightly between themes.

Discord colored text — copy and paste

This Discord colored text generator covers what people search as Discord color text, Discord text color, colored text Discord or a Discord text generator. Pick a color — red text in Discord, green, yellow, blue, cyan, pink, gray and more — plus an optional background, and the tool writes the Discord ANSI color codes inside a code block for you. Copy and paste the result into any server, DM or group chat on desktop. It is also a simple Discord formatting generator for bold colored lines.

Paste the full Discord color block

Copy the opening and closing code fences with your message. Check how the block appears in your Discord client. If the client displays the escape sequences or leaves the text plain, send the readable text version. Style other text to copy and paste.

People also search

Discord colored text: questions people search, answered

People search for a Discord colored text generator, colorful text, Discord text color codes, red, green or gray text in Discord and the code block colors behind it. Discord colours text with ANSI codes inside an ```ansi code block — this generator writes them for you.

Discord ANSI color codes

CodeText colourCodeBackground
30Gray40Dark blue
31Red41Orange
32Green42Marble blue
33Yellow43Greyish turquoise
34Blue44Gray
35Pink45Indigo
36Cyan / teal46Light gray
37White47White
  • Format: \u001b[0;31m starts red text, \u001b[0m resets; add 1; for bold or 4; for underline

Black, teal and rainbow text in Discord

Is there black text in Discord?

Not as a text colour. The darkest option is gray (30); for a black look, put white or gray text on a dark background code (40).

What is the Discord teal color code?

Use 36 (cyan), which shows as teal in Discord’s dark theme: \u001b[0;36m.

Can I make rainbow text?

Only by colouring each word or letter separately with different codes — the generator above lets you colour parts of the message one by one.

Privacy

How this tool handles your data

  • Runs in your browser. Everything you type or paste is processed on your own device by JavaScript. It is not uploaded to SocialKit and nothing is saved after you close the tab.
  • No account, no tracking of your input. The tool is free with no login. Anonymous usage statistics (Google Analytics) and ads may use cookies only as described in our Privacy & Cookie Policy.
Answers

Frequently asked questions

Discord supports ANSI color codes inside code blocks. This tool builds the code block for you — copy it and paste into Discord on desktop.
ANSI colors render on Discord desktop and browser. The Discord mobile app may show plain text.
Yes, completely free with no sign-up.
ANSI colors render in Discord desktop and web, but some mobile versions show the raw code block instead. Keep colored text for servers where most members use desktop, and keep a plain fallback for announcements.
Yes — the generator's codes stack style + color (like bold red). Use one or two styled lines for emphasis; full-rainbow paragraphs are hard to read and get muted fast.
Discord's mobile apps don't render ANSI colors yet — mobile users see the same text as a normal code block. The message is still readable; only the coloring is desktop and web for now.
Yes. Generate each colored part separately and paste them into the same code block, or send several blocks in a row. Many server owners build rainbow headers exactly this way.
Yes. ANSI code blocks are ordinary messages, so they render anywhere Discord shows a code block — servers, DMs and group chats on desktop and web.
Discord's normal 2,000-character message limit applies (4,000 with Nitro). The color codes count toward that limit, so very long colored messages may need to be split in two.
Type your message above, choose a text color (and background if you like), press Copy, then paste into Discord and send. The tool wraps your text in an ```ansi code block with the right color codes, which Discord desktop and browser display in color.
No. Discord has no setting for message font colour. Coloured text only works inside ANSI code blocks per message; role colours are set by server admins.
Discord code block colors come from ANSI codes inside a code block that starts with ```ansi. Each colour is a number: 30 gray, 31 red, 32 green, 33 yellow, 34 blue, 35 pink, 36 cyan and 37 white. This generator writes the codes for you; paste the copied block into any chat.
Choose gray in the picker, type your message and copy the block. In ANSI terms gray is code 30. You can also get muted gray text without colour codes by starting a line with -# for small subtext.
The ANSI method shows colours on Discord desktop and web. The mobile apps display the same message as plain text in a code block, so use colour for decoration, not for information people on phones must read.