This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 365
Transparency with events #172
Comments
Same problem here. SetValue don't work with RGBA |
@WansonSwanson please could you provide an example as it's said in CONTRIBUTING.md ? Thanks |
`$("#myPicker").colorpicker('setValue', 'rgba(255,0,0,.5)'); $("#myPicker").colorpicker().on('changeColor', function(ev) { |
@carlosvidal it works for me. The only thing is that if the alpha was never set, it returns a hex value by default, even if the format has been specified otherwise. To be sure, you could use the color object:
|
Works perfectly. Thanks |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not sure if there is already a fix for this but when I have a color changer that changes the background for a div, the transparency factor doesn't work. It converts the background color to rgb, but not rgba.
The text was updated successfully, but these errors were encountered: