Change value programmatically
问题 I am using this color wheel, and I want to change the color of the color wheel programmatically. So if I have a color value (rgb, hsv etc.) I want to change the color wheel to that specific color? For example, if I have rgb(255, 255, 80) , how can I change the color wheel to show that? JSFiddle Relevant code: Custom code: function changeColor() { var redColor = 255; var greenColor = 255; var blueColor = 80; //currentX = //currentY = redraw(0); // The following line is redundent if I'm calling