This example demonstrates how to change the background color of an input field.

Mouse over the three colored table cells, and the input field will change background-color: