For colored text in Scripts, try rbg code instead. I note it works fine for text, but cannot color variables, like you can on the text editor itself.
THIS WORKS (for the text, but not the variable (note changing double quotes around color to single quotes):
$PAGETEXT := $PAGETEXT + "<span style='color: rgb(0, 255, 0);'> Test Spoon = </span>" + %SPOONED
THIS DOES NOT WORK, because while it works for text, it changes the variable to text:
$PAGETEXT := $PAGETEXT + "<span style='color: rgb(0, 255, 0);'>GREEN COLOR: %%SPOONED%%</span>"