change the color of an input by code

Ok, how about this?