TheDutchCoder / ColorConvert

A Sublime Text 2 plugin that converts CSS colors from hex to rgb and back
MIT License
55 stars 6 forks source link

Converting from HSLA with a two-digit fractional part don't work #19

Open roose opened 10 years ago

roose commented 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

TheDutchCoder commented 10 years ago

Interesting bug, thanks for reporting.

I will look into it!

TheDutchCoder commented 10 years ago

Might also be related to a bug I found myself: https://github.com/TheDutchCoder/ColorConvert/issues/18