correct conversion from hsv to rgb