Fixed hsv and lab converting