change color of input box code example
Example 1: javascript change color of text input
document.getElementById("yourInputID").style.color = 'the color of your choice';
Example 2: css color of input
input{
background-color: white; /*The color of your choice here*/
}