SVG <feBlend> Filter

You are Here:

What is <feBlend> filter?

The <feBlend> SVG filter primitive composes two objects together ruled by a certain blending mode.

In this example, we will blend the image with "multiply" mode.


HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <body> <svg width="150" height="150" xmlns="" xmlns:xlink=""> <defs> <filter id="point"> <feFlood result="floodFill" x="0" y="0" width="100%" height="100%" flood-color="#339933" flood-opacity="1"/> <feBlend in="SourceGraphic" in2="floodFill" mode="multiply"/> </filter> </defs> <image xlink:href="car-left.png" x="10%" y="10%" width="80%" height="80%" filter="url(#point)"/> </svg> </body> </html>

Attributes Value

inIdentifies the input for the given filter primitive.
in2Identifies the second input for the given filter primitive.
modeSpecifies the blending mode on the <feBlend> filter primitive.
Possible values are:
  • multiply
  • color-dodge


Hi Developers, we almost covered 91% of SVG Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in SVG.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author