pytq5 button color code example Example: pyqt5 change button color self.pushButton.setStyleSheet("background-color: red")