I'm working on a web application in which I'm using javascript color picker to pick a color. It is giving me color in form of HSV and i want to convert it into hex form.Can anyone help so that i pass HSV to a function which will return color in form of HEX. Here is my code: I'm using a function of spectrum.js, which is not giving the proper output.
<script src="scripts/spectrum.js"></script>
$("#showInputWithClear").spectrum({
showInput: true,
});
Thanks in advance...