Added upper limit to color range