How to Change Text Color in HTML

TeasyWebsite editor

Open a page to start editing

Choose an HTML file or paste its code. Then click or tap any text, image or button to change it. Free, with no sign-up.

Your page stays in your browser. Nothing is uploaded.

How Teasy works
Ready. Open a page to start editing

How to Change Text Color in HTML

In code you'd write a color property in CSS and hope it applies to the right element. In Teasy, you click the text, pick a color, and see it change at once. You can use the color picker or type a hex code like #1e1b4b.

How to do it, step by step

  1. Load your HTML and click the text you want to recolor.
  2. Open the Colors section in the right panel.
  3. Choose a color with the picker or type a hex code in Text Color.
  4. Download the file.

Tips for best results

Frequently asked questions

Can I use a hex code?

Yes. Type it in the hex field, for example #4f46e5.

Can I change the color of a whole section?

Select the section element and set its text color; elements inside inherit it unless they define their own.

How do I reset a color?

Use Undo to go back, or set the color to match the original.

Related guides