Discord Colored Text Generator - ANSI Color Codes
Prepare ANSI code blocks for colored Discord text and inspect the syntax before pasting.
- Sin límites de longitud
- Sin registro
- Gratis para siempre
- Tu texto nunca sale de tu navegador
How Discord Color Codes Work
Discord does not have a color button. The supported technique is ANSI escape sequences placed inside a fenced code block marked ansi — the sequence \u001b[31m sets red foreground text, and \u001b[0m resets the styling. Without the ansi code fence, Discord treats the sequences as plain characters and shows them literally.
The anatomy of a colored block is always the same: open the fence with three backticks followed by ansi, then the escape codes interleaved with your text, then close the fence. The codes are terminal escape conventions that Discord’s client renders as colors when it sees them inside an ansi-marked block.
Because the whole message sits inside a code block, everything in it inherits the monospace look. Colored text is therefore a stylistic tool for short announcements and decoration, not a replacement for normal formatted prose.
A common pitfall is forgetting the reset: color codes persist until a reset sequence ends them, so a block that colors one word and never resets can tint everything after it. The generator handles the resets, but when you edit a block by hand, keep every color change paired with its reset to avoid the leak.
Supported Colors List
The standard ANSI palette maps to a small set of numbers that Discord renders as foreground colors: 31 red, 32 green, 33 yellow, 34 blue, 35 magenta, 36 cyan, and 37 white, with background variants in the 40s and bright variants in the 90s. The exact shades follow Discord’s theme rather than a universal color chart.
The practical palette is smaller than the numeric one suggests. Discord’s rendering of certain codes is subtle against dark and light themes, and some bright or background combinations produce poor contrast, so the reliable approach is to test a block on the clients your server actually uses.
When a color looks wrong, check the code against the theme first: a code that pops on dark mode can vanish on light mode, and vice versa. Design for both, or state the theme your announcements assume.
For readability, green, yellow, and white read well on dark backgrounds, while blue is the frequent complaint because Discord’s blue code can be dim. If an announcement must be legible for everyone, test it in both themes before pinning it.
Preguntas frecuentes
Can I make text blink in Discord?
Discord clients do not reliably support the terminal blink control sequences, and even where a client attempts them the effect is not consistent across desktop, web, and mobile. Do not depend on ANSI blink for important communication. If you need attention, the dependable tools are the ones Discord guarantees — a role mention, an @everyone for true urgency, or native formatting — not a terminal effect that most viewers will never see. The same advice applies to other legacy terminal effects: if a code is not on the standard ANSI color list Discord renders, assume it will not work and verify before you rely on it.
Why do I see numbers instead of colored text?
The code fence is missing the ansi marker, the client does not support ANSI rendering, or the escape sequence was pasted as literal characters rather than real control codes. Check that the opening fence is three backticks followed immediately by ansi, that no formatting app converted the escapes to visible text, and that the viewer is on a recent Discord client — mobile has historically lagged desktop in ANSI support.
Tu texto nunca sale de tu navegador
Cada herramienta se ejecuta localmente en tu dispositivo. Nada de lo que pegues se sube, se almacena ni se rastrea.