Color picker in Builder/Coder

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10):
PsychoPy version (e.g. 1.84.x): 3.0.1
Standard Standalone? (y/n) If not then what?:y
What are you trying to achieve?:
Create a Color Picker for user to choose a color

What did you try to make it work?:
Not sure how to go about it.

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.
I am not getting any idea how to implement a Color Picker. Please help.

Hi @bharat.biswal, can you provide some more information about how you want to implement a color picker?

Hi @dvbridges
I am new to PsychoPy. I want to create a Routine in Builder with following screen:

It has a Color Picker (square) with Alpha slider (vertical) at the right side.
Is there a sample code I can use?
Regards,
Bharat

@bharat.biswal, how about the attached. It is a color palette similar to above, except that the user uses sliders to pick the hue, saturation and value, rather than selecting the image with the mouse. The polygon above the palette gives visual feedback regarding the selection.

colPal.psyexp (23.2 KB)

If you have any questions about the code component, please let me know.