adjustment of order of doing hue correction and clipping to RATIO nits