ESN Docs

Docs › Discord bots

Discord colored text generator

2 min readUpdated Nov 3, 2026

Select text, pick a color or style, and copy a ready ```ansi message that shows in color on Discord.

Discord can show colored text inside a code block that starts with ```ansi. Type your text, select a part of it, pick a color or style, then copy the message and paste it into Discord.

Welcome to the server! Read the rules first.

Colors show on Discord desktop and web. The mobile apps show the text without colors.

The ANSI codes Discord understands #

Each style starts with the escape character (\u001b) followed by [, the codes separated by ;, and m. 0 resets, 1 is bold, 4 is underline, 30–37 are text colors and 40–47 are background colors. Discord only reads them inside a code block marked ansi.

From a bot (discord.py): await channel.send("```ansi\n\u001b[0;31mRed text\u001b[0m\n```")

Want your bot online 24/7? Host it on ESN: bot hosting from $0.50/month, with a web console, file manager and SFTP. See plans · Hosting guide

More Discord tools: Timestamps · Embed builder · Colored text · ID to date · Bot invite link · All tools

Still stuck? Use the live chat on the panel or ask in the ESN Systems Discord. Last updated November 3, 2026.