Rainbow Text Generator – Colorful Gradient Text HTML Code

Create colorful rainbow or gradient text for your website, blog, forum or email signature. Pick a palette, preview it live and copy the HTML or BBCode.

Free and private: this tool runs in your browser and nothing you enter is uploaded.

How to use the Rainbow Text Generator

  1. Type your text.
  2. Choose a palette (rainbow, sunset, ocean, neon, fire) or pick two custom colors.
  3. Color per letter for a rainbow effect or per word for a softer look; adjust size and bold.
  4. Copy the HTML for websites and Blogger posts, or BBCode for forums.

Where can I use rainbow text?

The HTML code works in Blogger and WordPress posts (paste it in HTML view), email signatures, Notion embeds and most website builders. BBCode works in forums such as phpBB and many game communities. Each letter gets its own inline color, so no extra CSS is needed.

Accessibility tip

Use colorful text for short headlines, names or call-outs – not for long paragraphs. Make sure colors have enough contrast with the background, especially light yellows on white. For a smooth background gradient instead, use the CSS gradient generator.

Key features of our Rainbow Text Generator

  • Rainbow and five gradient palettes
  • Custom two-color gradient
  • Color per letter or per word
  • Bold and size options
  • HTML or BBCode output
  • Live preview

Frequently asked questions

Can I use rainbow text on Instagram?

No – Instagram does not support colored text. Use the fancy font generator for styled Unicode text instead.

Does the code work in Blogger?

Yes. Switch the post editor to HTML view and paste the code where you want the colorful text.

Can I make an animated rainbow?

This tool creates static colors, which work everywhere. Animated text requires CSS animations that many platforms strip out.

Is the Rainbow Text Generator free?

Yes. The Rainbow Text Generator is free to use, with no sign-up, no limits and nothing to install. It runs entirely in your browser, so what you type or open stays on your device.

More free tools you may need

The Rainbow Text Generator is one of our free text tools. Every tool runs in your browser on Windows, Mac, Linux, Android and iPhone, with no sign-up.