CSS background-blend-modeThis CSS property sets the blend mode for each background layer (image/color) of an element. It defines how the background image of an element blends with the background color of the element. We can blend the background images together or can blend them with background-color. This property is not supported in Edge/Internet Explorer. SyntaxThis property has numerous property values. Let's discuss the above blend modes with an example of each. normalIt is the default value which sets the property mode to normal. multiplyIt multiplies the background-color and background-images and leads to a darker image than before. It is used to set the blending mode to multiply. ExampleTest it NowscreenIt is used to set the blending mode to screen and inverts both image and color. This effect is like displaying two images on the projection screen. ExampleTest it Nowcolor-dodgeIt is similar to the screen blend mode. It is used to set the blending mode to color-dodge. The final result of this mode is the result of dividing the background-color by the inverse of the background-image. ExampleTest it NowdifferenceIt is used to set the blending mode to difference. Its final result is the result of subtracting the dark color from the lightest one. ExampleTest it NowdarkenIt is used to set the blending mode to darken. ExampleTest it NowlightenIt is used to set the blending mode to lighten. ExampleTest it NowSaturationIts final result is the saturation of the top color, while using the hue and luminosity of the bottom color. ExampleTest it NowluminosityIt is used to set the blending mode to luminosity. Its final result is the luminosity of the top color, while using the hue and saturation of the bottom color. ExampleTest it NowoverlayIt is used to set the blending mode to overlay. ExampleTest it Nowhard-lightIt is used to set the blending mode to hard-light. ExampleTest it Nowsoft-lightIt is used to set the blending mode to soft-light. ExampleTest it NowexclusionIt is used to set the blending mode to exclusion. ExampleTest it NowhueIts result is the combination of the hue of the background-image with the luminosity and saturation of the background-color. ExampleTest it Nowcolor-burnIt is used to set the blending mode to color-burn. ExampleTest it NowcolorIt is used to set the blending mode to color. It keeps the luminosity of the background-color and the hue and saturation of the background-image. ExampleTest it NowNext TopicCSS Radio Button |