In this tutorial we will see how to use color picker as html input. This is very easy to add color picker as an input in any html form and you can do it easily.Color picker is generally used as input when we want to provide features of dynamic color change of the website .HTML5 input type color can be used to add dynamic background color change features in a website.
In HTML5 we have input type color which add color picker as an input to select. One line input type color code will will add color picker in HTML5. It allow you to easily use color picker as an input in any html form. Let us start.
Select background color <input id="background-color" type="color" />