Discord Color Text

Make colored Discord messages with ANSI code blocks. Pick a colour, copy the block, paste it in chat.

Text colour
Background
Format
Discord preview
you Today at 12:34
Raw code block

How to use the Discord colour tool

  1. 1

    Type your text

    Enter the message you want coloured.

  2. 2

    Pick colours

    Choose a text colour, optional background, and bold/underline.

  3. 3

    Copy the block

    One click copies the full ```ansi code block.

  4. 4

    Paste in Discord

    Send it in any channel or DM — Discord renders the colour.

Frequently Asked Questions

Why does this only work in Discord?

The colour comes from ANSI escape codes inside a code block tagged ansi — a feature Discord chose to support. Other apps treat that block as plain text, so they show the raw escape characters instead of colour. It is Discord-specific by design.

Will the colours show in DMs?

Yes. Discord renders ansi code blocks the same way in direct messages, group DMs, server channels and threads, so a copied block works anywhere you can send a message.

Can I use multiple colours in one message?

This version applies one colour, background and style to the whole input. To mix colours, generate several coloured blocks and combine them, or stack lines in a single ansi block by hand. Per-selection colouring is planned for a later version.

Why are the colours slightly different from what I expected?

Discord defines its own ANSI palette rather than using standard terminal colours, so its red, green and blue are tuned to its dark theme. The on-page preview uses Discord's documented hex values so what you see matches what posts.

Does this work on mobile Discord?

Yes. ANSI code-block rendering is uniform across Discord on iOS, Android, desktop and web, so a block copied here displays the same colours on a phone as on a computer.