Fix rgb_to_hsl bug; update test case (close #110)
Fix rgb_to_hsl bug (avoid floating point comparison); update test case (close #110)