Discord Color Text Generator — ANSI Codes
Pick foreground + background from Discord's 8-color ANSI palette, toggle bold and underline, copy the ```ansi code block ready to paste. Live preview matches Discord's actual desktop rendering. Mobile clients render plain — colors are desktop + browser only.
ANSI escape codes inside the mandatory ```ansi fence. Desktop + browser only — mobile Discord strips colors.
How Discord color text actually works
Discord supports ANSI SGR escape codes — but only inside a triple-backtick code block opened with the ansi language hint. The format is [<code>m, where <code> is one of Discord's 8 foreground colors (30-37), 8 background colors (40-47), or the modifiers 1 (bold) and 4 (underline). Multiple codes combine with semicolons: [1;31;40m = bold red on dark blue. Always close with [0m to reset. Anything outside this 16-color subset renders as plain text — 256-color and true-color codes don't work in Discord.
Why the colors look slightly muted
Discord's foreground colors approximate the Solarized palette rather than the standard VT100 terminal default. Solarized was designed for low-eyestrain reading on a dark surface; the Red is a desaturated brick, Yellow is a dark amber, Blue is a muted ocean. Discord's background colors are a custom palette and don't map cleanly onto Solarized — "Firefly Dark Blue" (40), "Marble Blue" (42), "Greyish Turquoise" (43) are Discord-specific names. The swatches in the generator above match Discord's actual rendering, so what you see in the picker is what your message will look like in chat.
Mobile Discord and the gray-text problem
Discord's iOS and Android clients don't parse ANSI escape codes inside code blocks, so your carefully colored message arrives on mobile as plain monospace text inside a code block, with no color. Mobile is a substantial share of Discord traffic, so colored text is most useful in creator-focused communities with desktop-heavy audiences (developer servers, homework / school servers, productivity Discords, streamer communities watching on a second monitor). For general community announcements where most viewers will be on phone, plain Discord markdown — bold, italic, spoiler — reads consistently across devices. Our Discord text formatter handles the mobile-safe markdown variants.
Practical patterns for streamer Discords
Three uses dominate streamer Discord adoption of colored text. One, announcement headers — a Yellow-on-Dark-Blue title block stands out in a busy announcements channel and survives the eye-skim. Two, sub goal thermometer text — a Green "ON TRACK" / Red "OFF PACE" / Yellow "WATCH" status string in a #goals channel updated daily. Three, schedule callouts — colored days inside a weekly schedule code block (Monday Cyan, Wednesday Yellow, Friday Pink) for visual rhythm. The generator's bold + foreground combination is enough for all three; backgrounds are best reserved for "alert" status indicators where the contrast helps the message pop on dense scrollback.
Why Discord doesn't formally document ANSI support
ANSI in Discord code blocks was confirmed by Discord engineers in 2022 but isn't part of Discord's formal markdown spec. Discord support has answered occasional forum questions confirming the feature is intentional, but they don't publish a colors reference and don't commit to back-compat in API docs. The palette has held through every desktop redesign since. If Discord ever did remove ANSI parsing, the graceful fallback is the same monochrome rendering mobile already produces — so the downside is bounded. For Twitch chat, none of this applies — Twitch has its own per-user name-color system in the chat client. To name your Twitch handle and check availability, see our Twitch name generator.