baianat / verte

🎨 A Color picker component. Built from the bottom to work with Vue.js.
https://baianat.github.io/verte/
MIT License
181 stars 42 forks source link

enableAlpha doesn't create valid alpha values #56

Open edgarw19 opened 4 years ago

edgarw19 commented 4 years ago

Expected Given I am using hex colors and set enableAlpha to true, when I drag the alpha slider, then the hex values should change and incorporate an alpha value to them.

Actual The hex values do not incorporate the alpha value even when I set alpha to 0. If I attach a v-model to the component, then it looks like I am getting values like #FFFFFF.34 when I slide the alpha component, but they are overwritten by #FFFFFF without the alpha value.

paulkarpenko commented 2 years ago

I've having the same issue — is there a workaround?