Added HSV <-> RGB conversion functions.