background color for form in html code example
Example 1: html input background color
input[type="text"], textarea {
background-color : #d1d1d1;
}
Example 2: input background color
<input style="background-color: gold;" type="text" value="">