Skip the Math.sqrt for clamped values in convertToRgb

No need to compute the square root of clamped values.
Only the values in the range ]0,1[ need to be processed.