Discord Colored Text Generator
Pick a text and background color, type your message, and copy a ready-to-paste Discord code block.
Paste into Discord on desktop. ANSI colors show inside code blocks; mobile may show plain text.
Get more from the Discord Color Text
How it works
- 1TYPE
Type your message
Write the text you want to post in Discord.
- 2COLOR
Pick colours and styles
Choose text and background colours, bold and underline for each part.
- 3PASTE
Copy into Discord
Copy the ANSI code block and paste it straight into any Discord channel.
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.
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
| Code | Text colour | Code | Background |
|---|---|---|---|
| 30 | Gray | 40 | Dark blue |
| 31 | Red | 41 | Orange |
| 32 | Green | 42 | Marble blue |
| 33 | Yellow | 43 | Greyish turquoise |
| 34 | Blue | 44 | Gray |
| 35 | Pink | 45 | Indigo |
| 36 | Cyan / teal | 46 | Light gray |
| 37 | White | 47 | White |
- Format:
\u001b[0;31mstarts red text,\u001b[0mresets; add1;for bold or4;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.
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.
Frequently asked questions
Enjoying the free tools? ☕ Support this project or send feedback.