input type color
snippet in html

html5 color picker

user3840

<input id="colorPicker" type="color" value="#ff0000">

input type color

user453

<input type="color" value="#f6f82" id="colorPicker">

css color of input

user9682

input{
  background-color: white; /*The color of your choice here*/
}

input type color

user7111

<div>
    <input type="color" id="head" name="head"
           value="#e66465">
    <label for="head">Head</label>
</div>