Word Color Cycle

Cycles each word through a defined color palette.

Code

var idx = textIndex - 1;
var pal = [[1,0,0],[0,1,0],[0,0,1]];
style.setFillColor(pal[idx % pal.length]);
textcolorstyle

How to Use

Paste in Fill Color (Per Character). Add more RGB triplets to `pal` as needed.