Updated color scale to match the actual function of the scale.