self.table.item(1, 0).setBackground(QtGui.QColor(125, 125, 125))
if __name__ == '__main__':
    app = QtGui.QApplication(sys.argv)
window = MainWindow()
window.show()
sys.exit(app.exec_())
Change QTableWidgetItem Background Color