Use HSV instead of RGB for the sliders
New js code for converting hsv to rgb and changed the slider from [0,255] to [0,1]