I use the jQuery Spectrum plugin to select a color:
$('#backgroundColorPicker').spectrum({
color: '#000',
showAlpha: true,
move: function(color){
$('#result').css('background-color',color.toHexString());
}
});
See this code in action: http://jsfiddle.net/UkmXM/1/ .
As you can see, I set showAlphato trueto enable a transparent background. However, I do not get a transparent background.
source
share