I didn't understand that you wanted each tab to have a different color, that is a different matter.
Hmm... maybe you can work around it by setting an icon, and setting its size to the tab size...
The other way (that I see) is to override the QTabBar:aintEvent() but you should know if you are up to it.
Bookmarks