::-webkit-input-placeholder {color: pink;} /* Chrome/Opera/Safari */ ::-moz-placeholder { color: pink;} /* Firefox 19+ */ :-ms-input-placeholder { color: pink;} /* IE 10+ */ :-moz-placeholder {color: pink;} /* Firefox 18- */

placeholder css

document.getElementById("yourInputID").style.color = 'the color of your choice';

javascript change color of text input

android:textColorHint="@color/your_color"

change textinputlayout color

selector { accent-color: somecolor; }

change input inner color

Similar Code Examples