You can add a stylesheet to your QTableWidget like this:
QTableWidget::item {
background-color: rgb(255, 85, 127);
}
You can install this code in the same way as the following:
QString _CustomStyle = QString(
"QTableWidget::item {"
"background-color: rgba(162, 186, 60);"
"}";
tableWidget->setStyleSheet(_CustomStyle);
RGB ().