removed curly braces from single line statement in hslToRgb()