http://www.easyrgb.com/index.php?X=MATH&H=18#text18 this doesn't work very well, and i found a better way to do it using the set colour to block.