Well, for one thing you shouldn't give reserved words (like "name") as the name or id of any object.

Try this:

<select name="selector" onchange="document.formname.color.value = this.value">
...
</select>
<input type="text" name="color" value="">
Where formname is the name of the form that these are nested within.