Fix HSL to RGB conversion.

Turns out cubehelix uses a special conversion which is not generally
applicable.