Open roose opened 10 years ago
If alpha value contains two-digit fractional part, eg 0.55, converting don't work. Due to this if convert eg rgba(159, 205, 0, 0.75) to hsla(73.5, 100.0%, 40.2%, 0.75) and delete 5 in 0.75 it always convert to #000
Interesting bug, thanks for reporting.
I will look into it!
Might also be related to a bug I found myself: https://github.com/TheDutchCoder/ColorConvert/issues/18
If alpha value contains two-digit fractional part, eg 0.55, converting don't work. Due to this if convert eg rgba(159, 205, 0, 0.75) to hsla(73.5, 100.0%, 40.2%, 0.75) and delete 5 in 0.75 it always convert to #000