how to change button color on color picker in pyqt5 code example Example: pyqt5 change button color self.pushButton.setStyleSheet("background-color: red")