C++ (Qt)QPalette pal = label->palette();pal.setColor(QPalette::WindowText, Qt::red);label->setPalette(pal);
C++ (Qt)label->setText("<font color=red>text</font>");