Answers for "how to change the color of input box in html"

CSS
4

javascript change color of text input

document.getElementById("yourInputID").style.color = 'the color of your choice';
Posted by: Guest on November-29-2020
3

input backgound color

<input style="background-color: gold;" type="text" value="">
Posted by: Guest on July-06-2020
0

input type color

<div>
    <input type="color" id="head" name="head"
           value="#e66465">
    <label for="head">Head</label>
</div>
Posted by: Guest on September-01-2020
3

input type color

<input type="color" value="#f6f82" id="colorPicker">
Posted by: Guest on December-06-2020

Code answers related to "how to change the color of input box in html"

Browse Popular Code Answers by Language