Labels with diferents backcolor

Hi all,

I need show in my app, a labels with diferents background colour.

The question :

How should do it?

I think that doing a new theme i’ll change all labels in my app.

add a specific style name to the labels you want to change with label.addStyleName(“myYellowLabel”); and then go into the theme and specify a background color to with something like .myYellowLabel { background-color:yellow }