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.

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