CSS mixblendmode Property (original) (raw)

CSS mix-blend-mode Property

Last Updated : 28 Aug, 2024

The CSS **mix-blend-mode property of an element is used to specify the blending of an element's background with the element's parent.

**Syntax:

mix-blend-mode: normal | multiply | exclusion
| overlay | lighten | darken
| color-dodge | color-burn
| hard-light | soft-light
| difference | hue
| saturation | color | screen
| luminosity

**Values:

GeeksForGeeks

mix-blend-mode set to:

normal

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: normal">
        <img src="https://media.geeksforgeeks.org/wp-content/uploads/sample_image.png">
    </div>
</div>

`

mix-blend-mode: normal

GeeksForGeeks

mix-blend-mode set to:

multiply

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: multiply">
        <img src="https://media.geeksforgeeks.org/wp-content/uploads/sample_image.png">
    </div>
</div>

`

mix-blend-mode: multiply

GeeksForGeeks

mix-blend-mode set to:

screen

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: screen">
        <img src="https://media.geeksforgeeks.org/wp-content/uploads/sample_image.png">
    </div>
</div>

`

mix-blend-mode: screen

GeeksForGeeks

mix-blend-mode set to:

exclusion

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: exclusion">
        <img src="https://media.geeksforgeeks.org/wp-content/uploads/sample_image.png">
    </div>
</div>

`

GeeksForGeeks

mix-blend-mode set to:

overlay

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: overlay">
        <img src="https://media.geeksforgeeks.org/wp-content/uploads/sample_image.png">
    </div>
</div>

`

GeeksForGeeks

mix-blend-mode set to:

lighten

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: lighten">
        <img src="https://media.geeksforgeeks.org/wp-content/uploads/sample_image.png">
    </div>
</div>

`

GeeksForGeeks

mix-blend-mode set to:

darken

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: darken">
        <img src="https://media.geeksforgeeks.org/wp-content/uploads/sample_image.png">
    </div>
</div>

`

GeeksForGeeks

mix-blend-mode set to:

color-dodge

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: color-dodge">
        <img src="https://media.geeksforgeeks.org/wp-content/uploads/sample_image.png">
    </div>
</div>

`

GeeksForGeeks

mix-blend-mode set to:

color-burn

    <!-- mix-blend-mode Property -->
    <div style="mix-blend-mode: color-burn">
        <img src="https:/<li><b>Normal:</b>

Syntax:

mix-blend-mode: normal

`