How to set Form's styleClass property dynamically?

Hi, All

Basically, In my application, I want to set/update the “background-color” of my forms dynamically through the “form’s property styleClass”. But I’m unable to do so. Any suggestion, How do I can set the form’s background dynamically?

Regards
Aijaz Ali