The foreground color used for displaying text.
object.name.textColor
Read/Write
color
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; }
/ stimulusTimes = [0=feedback]
/ timeout = 1000
</trial>