js set color of input field type color code example
Example: javascript change color of text input
document.getElementById("yourInputID").style.color = 'the color of your choice';
document.getElementById("yourInputID").style.color = 'the color of your choice';