In this demo the background picture is blended with its background image by background-blend-mode. Thus, the result is the composition of the background color and the background image.
Some of the modes will bring different result if the color is under the image or if the color is above the image.
Try this by checking 'Color on Top' checkbox and choosing 'Normal' blending mode selection. In this case the color layer is on top of the image. Since no blending is done in normal mode, you see the color covers the entire display area. In case the checkbox is unchecked, the color is under the image and you see the image.
Color Under the Image:
We define the color to be under the image by defining the color as the value of background-color property. Background color is always under any other layer.
Color Above the Image:
We define the color to be above the image by removing the background-color and defining the color as a gradient image.
There are 3 event handlers for the following events: