jfairbank / chroma

Ruby gem for color manipulation and palette generation
ISC License
232 stars 29 forks source link

Color initialization from Hsl instance screws up @rgb value #11

Closed jfairbank closed 9 years ago

jfairbank commented 9 years ago
'red'.paint.to_hsl_s                  #=> hsl(0, 100%, 50%)
Chroma::Color.new('red'.paint.to_hsl) #=> hsl(0, 1%, 1%)
jfairbank commented 9 years ago

This applies to Hsv too.

jfairbank commented 9 years ago

Fixed by ce3cc3f.