I did not see that the question was about the input element, but maybe my answer will help someone else, so we go.
Like other posters, you can use rgba syntax to determine the background color.
If there are nested elements in the one you want to change, you can also apply opacity to them using this css:
#element > * { opacity:0.8; }
Here is an example: JsFiddle
If you need a background image for your element, I think the best way is to put it in a container with a frame.
Tonioelgringo
source share