document.getElementById("yourInputID").style.color = 'the color of your choice';
<input type="Color">