Yes it is. By "color," do you mean background colour or text colour?
You must give the textbox some sort of identification. One of the easiest ways of doing this is the "id" attribute. Imagine we had our textbox created like so:
HTML Code:
<input type="text" id="tb1"/>
We would set its background colour like so:
Code:
document.getElementById('tb1').style.backgroundColor = "#0000FF";
or its text colour like so:
Code:
document.getElementById('tb1').style.color = "#0000FF";
You would enter this code into an onmouseover= attribute. You will need to manually change the colour back afterwards, if this is what you desire.
Bookmarks