Text layer - Different text colors

You can use inline CSS codes to change the text color inside Text layers only.

Do not use Heading layers for this purpose, as they filter out HTML codes, so it won't work!

E.g. this code:

this text is <span style="color:red;">red</span>

makes the word "red" appear in red color.
9d3e7da9f9b2580ab6f1bf1c010d0a97.png

Using inline CSS codes you can change almost anything, event font family, font weight or font size.