Revised the color temperature curve function.