How to attach colorEditor to a button on QT Designer Python


Hi there, im making a script for a school project where I can recolour the nodes on the outliner but I was told to use colorEditor instead of making a slider. I’ve been having a hard time trying to connect it to a button on QT. Is it possible?