Transforming a color scale