Tabbar color (revisted)

I understand that you can use tabbar.setCustomStyle to change the css colors of a tab. But I am using the modern stlye which does not accept css coloring since it is using images. If I made another color tab image how would I tell a single tab to use this alternate image set?

While there is no direct API, it can be done as

tabbar.setCustomStyle(“b1”)
tabbar._getTabStyle(“b1”)[1]=“modern/p_middle_n.gif”;

0 - left part of passive tab
1 - center part of passive tab
2 - right part of passive tab
3-5 - same for active tab