Changing Button Colours

URL of experiment: Pavlovia

Description of the problem:
I am trying to format a series of buttons on a PsychoPy task so that they are properly presented on the Pavlovia online version of the same task. There doesn’t seem to be a 1-1 match in the formatting, as seen in the pictures below (see task for PsychoPy buttons)-

I have been able to get the right button sizes approximately by trial and error but I am unsure on how (if its even possible) to adjust the colour of the buttons?

The normalised and Python RGB haven’t seem to make a difference to the online experiment?


I’m on the same boat! Seeing the same issues - color and size has no impact on Pavlovia. In psychopy it works well, when I upload to pavlovia it makes not difference what size or color I choose.

I’ve also found that the results report at the end (with the Excel spreadsheets) doesn’t record which button was pressed, are you also having this issue?

Hi Seline,
(I’m working with Sharon on the same experiment).

We’re not there yet (capturing results). We’re trying the make it working on-line first and it seems that there is a rough road ahead!

Not sure what to do… It is a huge roadblock!

@wakecarter - Please help us out here. Can you direct us to someone who may advise?

Thank you,

Since buttons either don’t work online or have only recently started to do so, I haven’t yet started making use of them. I still put rectangular polygons behind text components.

1 Like

Hi all,

Thanks for your replies. I am getting the impression that for now polygons and text are the way to go…

@wakecarter is there a good first resource you’d recommend for putting these together?



Hi There,

This is a bug that the development team are aware of. I would recommend using clickable images or text for now since button components are still beta (the sticker is going back on that!).


Hi Becca,

Thanks for your information. I have been able to use polygons and text now instead. Buttons would have been perfect if not for the issues above. Hopefully it can be fixed soon.

Best wishes,


1 Like

Hi @Becca,

Unfortunately button is not defined as beta. Had I know I would not have used that.

Where can I find info about polygons and text?
How can I utilize that as button? How can I get the input of which polygon did the user pick?


Thank you,

Hi Sharon,

Yes, the beta sticker is due to be put back on this component. Since it is still beta for online use, hopefulyl this will be clearer in the next release.

You can turn any visual thing (polygon, image, text) into a button in PsychoPy by adding a mouse component, setting “Force end routine on” to “valid click” and then listing the name of clickable components in the clickable field of the mouse component.