You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, that was actually planned. I just started a new feature branch for this.
Here's the new API:
varcol;col=chroma.color('red').alpha(0.25);col=chroma.rgb(255,0,0,0.25);col=chroma.css("rgba(255,0,0,0.25)");col=chroma.css("hsla(0,100%,50%,0.25)");col.alpha()// returns 0.25col.alpha(0.6)// returns col
Feel free to try to the experimental version until I find more time to finish and test this release properly. If you find bugs, you can help me by adding comments to this ticket and adding more test cases.
Hi,
Do you plan to support the alpha channel? I must use https://github.com/harthur/color for alpha work.
The text was updated successfully, but these errors were encountered: