Cómo importar qpalette pyqt5
from PyQt5.QtGui import QPalette # You maybe want to import QColor also.
Neversleeper
from PyQt5.QtGui import QPalette # You maybe want to import QColor also.