CSS mix-blend-mode Property
Specifies how an element's content should blend with its direct parent background.
CSS blending modes determine how two layers visually interact. In the following example, I chose an image and a background as layers to change the image's appearance, give it a makeover, or create a dramatic color transformation, so that the background color is taken into account.
-
-
Coruña's Port, Spain - The original without effects, only with the traditional effect created by the color of the passe-partout, to enhance the image.
-
-
-
- Sets the blending mode to hard-light: The effect is similar to illuminating the background with a bright spotlight, that's why I darkened the background.
-
-
-
- Sets the blending mode to difference: Subtracts the darker of the two constituent colors from the lighter color. Painting with white inverts the backdrop color; painting with black produces no change. The result is like a watercolor painting, it's amazing!
-
I've always used photo editing tools to give them a special touch, that's why I like this way of treating photos so much; they're like little works of art.
[You can find more information about the specifications through the link from the World Wide Web Consortium (W3C):Compositing and Blending Level 2]
Playing with mix-blend-mode
HELLO WORLD!