Font Color Text Generator (HTML, BBCode, Discord)
Make colored or gradient text with bold, italic and size options, and copy it as HTML, BBCode for forums, a Discord ANSI code block or Markdown.
Make colored or gradient text with bold, italic and size options, and copy it as HTML, BBCode for forums, a Discord ANSI code block or Markdown.
A font color text generator turns your words into code that tells a website, forum or chat app which color to show. Type your text, pick a color or two-color gradient, then copy the HTML span, the BBCode color tag or the Discord ANSI block. Plain-text apps such as Instagram cannot display colored text.
Text has no color of its own. Color comes from formatting code that the app or website reads and applies. That is why the same words can appear red on a forum and plain black on Instagram: the forum understands the code, Instagram does not. This tool gives you one version for each kind of place.
| Where you paste | Output to use | Shows color? |
|---|---|---|
| Website, blog or page builder (HTML block) | HTML | Yes, any color |
| HTML email templates | HTML | Yes in most email apps |
| Forums (phpBB, vBulletin, XenForo, Steam) | BBCode | Yes, if the forum allows the color tag |
| Discord messages | Discord ANSI | Yes, 8 colors, desktop and web |
| GitHub README, Reddit, other Markdown | Markdown | No, bold and italic only |
| Instagram, WhatsApp, TikTok, X, SMS | None | No, plain text only |
Everything runs in your browser, so your text is not sent anywhere. To pick colors that look good together, try the color palette generator.
On the web, the modern way to color text is a CSS style on a span element. The old <font color> tag still works in many browsers but is obsolete in HTML5, so avoid it in new pages.
<span style="color:#e11d48">Red text</span>
<span style="color:#2563eb;font-weight:bold">Bold blue text</span>A gradient in HTML is made of one span per letter, each with its own color. It looks smooth but adds a lot of code, so keep gradients for short headings and names. If the colored text sits on a background, check that it stays readable with a contrast checker. Light yellow on white is hard to read for everyone.
Most forum software accepts a color tag with a hex code or a color name:
[color=#e11d48]Red text[/color]
[b][color=green]Bold green text[/color][/b]Each forum decides which tags are allowed, so if the code shows up as raw text, that board has turned color off. Font size tags are left out of the output on purpose, because forums use different size scales (some use 1 to 7, others percent or pixels).
Discord has no color button, but it renders ANSI escape codes inside a code block marked ansi. Each color starts with an escape character followed by a code. The tool writes these for you and matches every color you choose to the nearest of the 8 that Discord supports.
| Code | Discord color |
|---|---|
| 30 | Gray |
| 31 | Red |
| 32 | Green |
| 33 | Yellow |
| 34 | Blue |
| 35 | Pink |
| 36 | Cyan |
| 37 | White |
A code of 1 before the color makes it bold, and 0 resets formatting. The escape character is invisible, which is why typing the code by hand rarely works. Always use the Copy button: the preview shows it as a placeholder symbol, but the copied text contains the real character. Discord does not support italic inside ANSI blocks, and some mobile versions of the app may show the text without color.
These apps only accept plain text in bios, captions, comments and chats. No code can change the color, and sites that promise colored Instagram fonts are usually offering emoji or Unicode lookalike letters. You have two real options:
Choose the color here and copy the version for where you will paste it: HTML for websites and emails, BBCode for forums, or the ANSI block for Discord. The color only shows if that place supports the code.
Copy the Discord output and paste it as a message. It is a code block marked ansi with escape codes, and Discord shows it in one of 8 fixed colors on desktop and in the browser.
No. Captions, bios and comments on those apps are plain text, so color codes are ignored. You can use Unicode font styles instead, or put the text into an image.
Wrap the text in a span with a color style, for example a span tag with style set to color:#e11d48. The old font tag with a color attribute is obsolete in HTML5.
Choose Gradient and pick a start and end color. The tool gives each letter its own color, blending evenly from the first color to the second.
No. Standard Markdown has no color syntax. Some sites allow inline HTML, but many, including GitHub, remove color styles.
No. Those are plain-text fields that cannot show color. Use the Fancy Text Generator for styled Unicode letters instead.
Discord code blocks only support 8 text colors, so each color is matched to the nearest one.