Implemented HSV to RGB convertion helper method