html5 input color code example
Example 1: html input background color
input[type="text"], textarea {
background-color : #d1d1d1;
}
Example 2: input type color
<input type="color" value="#f6f82" id="colorPicker">
input[type="text"], textarea {
background-color : #d1d1d1;
}
<input type="color" value="#f6f82" id="colorPicker">