Utility function for switching the HSL color space and performing an operation on the channels.
The result of the function.
The function to apply to the HSL channels.