The foreground color used for displaying text.
The following trial sets the color of a feedback message based on whether or not the response to the previous trial was correct:
<trial feedback>
/ontrialbegin = [ if (trial.test.correct == true) text.feedback.textcolor = green; else text.feedback.textcolor = red; ]
/ stimulusframes = [1=feedback]
</trial>