IMHO, the easiest way to achieve this is to define span styles for each color and assign them to each word.
For example, add the following styles to the style section of the .html file or the stylesheet:
Code:
<style type="text/css">
span.red { color: red; }
span.blue { color: blue; }
</style>
and the following code in the .html file:
Code:
<p>This is a <span class="red">red word</span> and this a <span class="blue">blue one</span>.</p>
For more information, see this
website.