I can see in CSS references how to set image transparency and how to set a background image. But how can I combine these two in order to set a transparent background image?<
In your CSS add...
filter: opacity(50%);
In JavaScript use...
element.style.filter='opacity(50%)';
NB: Add vendor prefixes as required but Chromium should be fine without.