Is there any way to have a semi-transparent overlay in a webpage and will brighten the underlying content? I'm wanting to have a dynamic content in the background of a transparent overlay with one section highlighted in a brighter than the rest of the background.
For example, in the mock-up below there is a graph in the background, overlaid by a dark black image, which, in turn, is overlaid by a lighter color on the right.
Is such a thing possible using either Javascript, CSS, HTML, transparent PNGs, etc.?
Edit: maybe there is a way to use CSS opacity to have a partially transparent black layer, overlaid by a partially transparent white layer, giving the shades of grey, as in the example image (thanks for everyone's ideas so far).