How to get color html code on change color input

in this code i will show how to get color html code on change color input

<label for="works2">change color and get html code</label> <input type="color" id="works2" value="#bdd40c" onchange="document.body.innerHTML+='<p/><input value='+ this.value + ' ><input type=color value='+ this.value + ' >' " />
How to get color html code on change color input

© 2025 Manajmnt code

Share to :

Related

Comments