Clamps color values between min and max
Minimal allowed value
Maximal allowed value
See Implementation
Clamps color values between min and max