Free tool · Discord

Discord colored text generator.

Write a message, select words and give them a color, a background, bold or underline. Copy the result and paste it into Discord to show colored text in any channel, with a live preview of how it looks.

Format

Preview in Discord

Welcome to the server!
Read the rules in #rules, then say hi.

124 of 2,000 characters

How colored text works in Discord

Discord has no color button, but it colors text inside a code block marked ansi. Invisible ANSI escape codes in the text switch the color on and off: 1 is bold, 4 underline, 30 to 37 are the eight text colors and 40 to 47 the eight backgrounds. The escape character can't be typed on a keyboard, which is why you copy it from a generator like this one. The message shows in a code-block box, in a monospaced font.

Text colors

  • Gray 30
  • Red 31
  • Green 32
  • Yellow 33
  • Blue 34
  • Pink 35
  • Cyan 36
  • White 37

Backgrounds

  • Firefly dark blue 40
  • Orange 41
  • Marble blue 42
  • Grayish turquoise 43
  • Gray 44
  • Indigo 45
  • Light gray 46
  • White 47

Questions

How do I send colored text in Discord?
Write and style your message above, press Copy for Discord, then paste it into the message box and send it. Paste it exactly as copied: the ```ansi line at the start and the ``` at the end are what make Discord show the colors.
Does colored text work on phones?
The colors show in the Discord app for Windows, Mac and Linux and in Discord in a web browser. The phone apps may show the same message as plain text in a code block.
How many colors can I use?
Eight text colors and eight background colors, which you can combine with each other and with bold and underline. Those 16 colors, bold and underline are what Discord shows in colored code blocks.
Why does my message look like strange symbols?
The colors only work inside a code block that starts with ```ansi. If you paste just part of it, or edit the escape codes by hand, Discord shows the codes as text. Copy the whole block again.
Can a Discord bot send colored text?
Yes. A bot can send the same ```ansi block as its message. If you are building one, our Discord bot hosting keeps Python and Node.js bots online 24/7.

Keep your Discord bot online 24/7

Python and Node.js bot hosting with SSD storage, databases and backups.

See bot hosting

More free tools