Fix for HSL ↔ RGB conversion methods

Those methods broke down while I was redesigning, but the issue unfortunately did not surface during the unit tests.