🎨

Discord Color Text — ANSI Codes

DISCORD TOOLS

Create colored text for Discord using ANSI escape codes. Works on Desktop and Browser only.

Free Instant Results No Signup Copy & Paste Anywhere
YOUR TEXT 0 / 5,000
RESULTS

How Discord ANSI Color Text Works

Discord renders ANSI (American National Standards Institute) escape codes within ```ansi code block fences. ANSI escape sequences are control characters originally designed for terminal emulators to control text color, bold, and underline. Discord's renderer recognizes these sequences and applies the corresponding visual styles within the code block.

To create colored text in Discord: open a message, type ``` followed by ansi (no space), press Enter, add your ANSI escape sequence and text, then close with ```. The Fontlix Discord Colors tool generates the complete formatted code block ready to copy and paste — no manual escape sequence writing required.

Discord ANSI Color Reference

Text foreground colors (3x series): 30 = Dark Gray, 31 = Red, 32 = Green, 33 = Yellow, 34 = Blue, 35 = Magenta/Pink, 36 = Cyan, 37 = White/Light Gray.

Background colors (4x series): 40 = Dark Background, 41 = Orange-Red, 42 = Gray, 43 = Light Gray, 44 = Lighter Gray, 45 = Blurple (Discord blue-purple), 46 = Light Gray 2, 47 = Cream/Off-White.

Text styles: 0 = Reset all formatting, 1 = Bold, 4 = Underline. Combine codes with semicolons: [1;32m = Bold Green.

The escape character is ESC (U+001B, octal , hex ). ANSI sequences start with ESC followed by [ then the code(s) then m. The Fontlix Discord Colors tool generates these sequences automatically.

Popular Color Combinations

Cyan text 36: The cleanest, most readable ANSI color in Discord's dark theme. Popular for technical information, commands, and bot responses.

Green text 32: Success states, positive confirmations, health/healing in RPG servers, "approved" markers. Green on Discord's dark background is excellent contrast.

Red text 31: Warnings, errors, danger states, negative confirmations. The highest-attention color for critical information.

Yellow text 33: Caution states, gold/wealth in game servers, emphasis without the urgency of red.

Magenta text 35: Creative and playful emphasis. Less common, so it stands out in servers where cyan and green are frequently used.

Blurple background 45: Discord's brand color as a background creates branded-looking colored blocks within messages.

ANSI Colors on Mobile

Discord iOS and Android support ANSI color rendering in code blocks. Update to the latest Discord version if colors appear as plain text — older versions may not process ANSI correctly. The experience is identical on mobile and desktop — the same ```ansi block produces the same colored output.

Creative Uses of Discord Color Text

Bot status messages, server announcements with color-coded priority levels, roleplay server combat logs with color-coded damage types, tournament brackets with team colors, achievement notification formatting, and any context where color adds categorical information rather than just decoration. The most effective ANSI use creates color-coded information hierarchies — not random decoration.

ANSI in Discord — Complete Guide

Discord's ANSI color text works exclusively within triple-backtick code blocks using the 'ansi' language specifier. The syntax: type three backticks, then 'ansi' on the same line, then your ANSI-formatted text, then three closing backticks. Discord renders this block with the colored text visible to all message recipients. The ANSI escape sequences are hidden in the rendered output — users see only the colored text, not the control codes.

Available ANSI Colors in Discord

Discord supports the standard 8 ANSI foreground colors: Black (30), Red (31), Green (32), Yellow (33), Blue (34), Magenta (35), Cyan (36), White (37). Bright variants use codes 90-97. Background colors use codes 40-47. Text styles available: Bold (1), Underline (4), Reset (0). Discord renders these in its dark theme — colors may look different in light mode and on mobile versus desktop.

ANSI Color Text Limitations

ANSI color text works only in message content within code blocks. It cannot be used in: usernames, display names, server names, channel names, bios, role names, or any text field outside of messages. It also doesn't render in Discord's desktop client on older versions or in some third-party Discord clients. Test your colored text on the target Discord server before assuming it renders correctly for all members.

Combining Colors for Impact

Effective ANSI color use in Discord combines color with the context of the message. Server announcement messages using colored headers (green for positive news, red for urgent notices, yellow for warnings) create instant visual hierarchy. Channel topic lines using ANSI within messages can't use color — but bot messages that use the full ANSI palette create professional-looking embedded-style content without actually using embeds.

Beyond Color — Discord Text Tools

In addition to ANSI colors, Discord's native Markdown supports bold (**text**), italic (*text*), underline (__text__), strikethrough (~~text~~), spoiler (||text||), code inline (`text`) and code block (```text```). For text outside of messages — usernames, server names, bios — none of this native formatting works, requiring Unicode styled text instead. Understanding the difference between what works in messages (Markdown + ANSI) versus everywhere else (Unicode only) is the foundation of Discord text mastery.

Frequently Asked Questions

Yes. Free Fire supports Unicode in display names. Remember the 12-character limit — use our character counter to stay within the limit before spending a rename card.

No. Unicode characters in game names are standard text characters, not exploits. Using Unicode styling does not violate the Terms of Service of any major mobile or PC game.

Yes. Unicode characters render consistently on all iOS and Android devices that run modern games. Your styled name displays identically in kill feeds, lobbies, and leaderboards.

Character limits vary by platform: Free Fire (12), PUBG Mobile (15), Valorant (16), Discord (32). Each Unicode character counts as one character toward these limits.

Yes. All generators on Fontlix are completely free with no signup and no limits.