I want to use an image in different screen resolutions with fading and the same background color. In a website, the image will not scale, but the background will. Something like this:
You can do this by using a transparent gradient mask.
This tutorial is quite similar, just use your background color in a separate layer underneath: http://www.mediacollege.com/adobe/photoshop/transparent/gradient.html