Multiple colours of text

i am using a switch and counter to click a button and the renderer changes the word in the sentence. Once a different word appears, it needs to be a different colour to the one before. At the moment the words are just one colour and i cannot seem to have more than one colour.

Here is a little example patch, if you need more specific help please post a piece of your patch.

text+changecolor.v4p (3.8 kB)