Text color
Sets the foreground color of your text. Pick from the eight ANSI colors Discord supports, plus the default. Each one maps to a standard SGR code like 31 for red or 32 for green.
plain textAfter[32mgreen text[0mMake colored, bold, and underlined text using ANSI escape codes. Type your text, pick colors, and copy the result straight into a Discord message or a terminal. Everything runs in your browser, so your text stays on your device.
Colored ANSI textThis is an approximation. Exact shades depend on the app, terminal, or Discord theme showing the text.
ANSI color codes are short sequences of characters that tell a terminal or app how to color and style text. Each one starts with an invisible escape character, followed by a number like 31 for red or 1 for bold, and ends with the letter m. A reset code turns the styling back off. This tool builds those codes for you from the colors you pick, so you do not have to remember the numbers. Discord reads the same codes inside a special code block, which is why the tool can make colored chat messages too.
Sets the foreground color of your text. Pick from the eight ANSI colors Discord supports, plus the default. Each one maps to a standard SGR code like 31 for red or 32 for green.
plain textAfter[32mgreen text[0mFills the area behind your text with one of the eight ANSI background colors, or leave it as None. Background codes run from 40 to 47.
plain textAfter[45mtext on blurple[0mAdds the bold attribute (SGR code 1). In Discord this also brightens the text color, which is a common way to reach the lighter shades.
[31mred[0mAfter[1;31mbold red[0mDiscord block wraps the result in an ```ansi code block so it renders in color when you send it. Raw ANSI gives you just the escape sequence for terminals and scripts.
raw sequenceAfter```ansi ... ```ANSI colors show up anywhere text needs to stand out with color. Here are the most common reasons people reach for them: