how to change button color in pyqt5 code example
Example 1: pyqt5 change button color
self.pushButton.setStyleSheet("background-color: red")
Example 2: change color of text button pyqt5
setStyleSheet('QPushButton {background-color: #A3C1DA; color: red;}')