Prev Demo
HTML5
>
Color Picker
Next Demo
Write code here
J
|
B
|
A
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <meta charset="UTF-8" /> </head> <body> <form> Click to Select Color: <input type="color" id="myColor" name="myColor" onchange="SetColor(this.value)" /> <output id="selectedColor">#000000</output> <p>To see advance color picket, <a href="http://techfunda.com/Tools/ColorPicker" target="_blank" title="Color Picker">click here</a>.</p> <script> function SetColor(v) { document.getElementById("selectedColor").value = v; } </script> </form> </body> </html>
Note: We DO NOT save your trial code in our database.
Output