Not able to change the button background color using color picker programma

Hi Everyone,
I am not able to set the button background color using colorpicker programmatically.

Anyone please sort out this.

thanks,
rajender

Dont know what color picker you mean, but i will mostly return only an color hex code, like #FF0000. You can not set this directly as background to a button - only CSS style classes are possible with Component.addStyleName()