jaames / iro.js

🎨 Modular color picker widget for JavaScript, with support for a bunch of color formats

Home Page:https://iro.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hslaString doesn't actually return an hsla string

Asmor opened this issue · comments

the Color object's hslaString property returns a string starting with hsl, not hsla. This causes problems if the same string is then loaded into iro, as iro will not look for the alpha channel if the string is hsl and not hsla.

Demonstrating bad return value

image

Demonstrating that the alpha channel works with hsla but not with hsl

image

commented

thanks! should be fixed with version 5.5.2