• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. Filters > The feBlend Filter

The feBlend Filter

But wait, there’s more! Yes, filters provide yet another way to combine images. The <feBlend> element requires two inputs, specified with the in and in2 attributes, and a mode that tells how the inputs are to be blended. The possible values are: normal, multiply, screen, lighten, and darken. Given opaque inputs <feBlend in="A" in2="B" mode=" m "/>, the following table shows the color of the resulting pixel for each mode:

Mode

Effect

normal

B only; this is the same as the over operator in <feMerge>.

multiply

As the name suggests, the resulting color value is the product of A’s color value and B’s color value. This tends to dramatically weaken light colors.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint