how to change color of input text in html code example
Example 1: javascript change color of text input
document.getElementById("yourInputID").style.color = 'the color of your choice';
Example 2: html input background color
input[type="text"], textarea {
background-color : #d1d1d1;
}
Example 3: input backgound color
<input style="background-color: gold;" type="text" value="">