VOOZH about

URL: https://www.geeksforgeeks.org/html/svg-feblend-element/

⇱ SVG <feBlend> Element - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

SVG <feBlend> Element

Last Updated : 31 Mar, 2022

SVG stands for Scalable Vector Graphic. It can be used to make graphics and animations like in HTML canvas. 

<feBlend> element is used to combines two images or SVG fragments into a single graphic. It executes a pixel-wise combination of two input SVG fragments or images. 

Syntax:

 <feBlend in="" in2="" mode=""/>

Attributes:

  • in - It identifies input for the given filter primitive.
  • in2 - It identifies the second input for the given filter primitive. It takes on the same values as the β€˜in’ attribute.
  • mode -  It defines the blending mode on the <feBlend> filter primitive. If mode is not specified, the normal value is executed.

Example 1:

Output:

πŸ‘ Image

Example 2:

Output:

πŸ‘ Image
Comment
Article Tags: