Generator

Text Colour Generator

Choose a colour visually and get the exact span you need to colour any piece of text.

Live Tool
text-color.html Live

          
Preview

1How To Use

Follow these steps — no coding experience needed.

  1. Type your textEnter the text you want to colour.
  2. Pick a colourUse the colour swatch, or paste a hex code you already have.
  3. Copy the spanWrap any text in your page with this exact code.

2Example Output

What this code looks like once it's on a real page.

Status: Active  |  Status: Pending  |  Status: Delayed

3Browser Compatibility

BrowserSupportNotes
Chrome✓ SupportedFull support
Firefox✓ SupportedFull support
Safari✓ SupportedFull support
Edge✓ SupportedFull support
Opera✓ SupportedFull support
Mobile browsers✓ SupportedFull support, iOS & Android

Supported in every current browser — Chrome, Firefox, Safari, Edge and Opera all render this identically, on both desktop and mobile.

Related Pages

More tools that pair naturally with this one.