| Reference | Downloads | Github

Changing text colour

I want to change the colour of stimuli text but I have a list of words and then I want them to be presented in each colour (blue, purple, green). Each stimuli needs to be shown 6 times in each colour. Would you be able to give some advice on how to go about this? (This is all using psychopy and needs to be presented in a window)

I think this video by Jon Peirce may be useful:

Thanks but I need the coding for it on python using the psychopy module rather than actually using psychopy

Then you need to work through the relevant code demos available from the “demos” menu in the Coder view, and come back to us with more specific questions.

In particular, look at the stimulus -> and the exp control -> and associated demos.