Is there a way to apply an specific color to a certain word?

I would like to know if there is any way to get certain words or terms to be displayed, each one, with a specific color (not just highlight ==). Could it be done with CSS?

check out this thread: Use nested tag to manage 16 highlight colors,blod,italic

Thanks for your quick response!
I was looking for something that would allow that, every time I write a certain word, a specific format I have previously configured (like a text color) is applied to it automatically.

the only way I know how to do that is with a text expander like espanso – which would basically relace WORD with bluehighlightcsscodeWORDendbluehighlighttag, which is probably not what you want.

See if this fit your needs:
<p style="color:red">YOUR TEXT HERE </p>
You can also change the ‘red’ word with hex code