BlendMode Enum

BlendMode enumeration

Specifies the blending modes available for combining images or elements in SVG.

public enum BlendMode

Values

NameValueDescription
Normal0Displays the source image as is, without any blending.
Multiply1Multiplies the colors of the source image and the background. The result is a darker image.
Screen2Makes the dark parts of the source image lighter and the light parts unchanged.
Overlay3Combines Multiply and Screen blend modes to enhance contrast.
Darken4Darkens the background based on the source image’s colors.
Lighten5Lightens the background based on the source image’s colors.
ColorDodge6Brightens the background to reflect the source image.
ColorBurn7Darkens the background to reflect the source image.
HardLight8Creates a hard light effect based on the source image’s brightness.
SoftLight9Creates a soft light effect based on the source image’s brightness.
Difference10Highlights the differences between the source image and the background.
Exclusion11Creates an effect similar to Difference, but with lower contrast.
Hue12Uses the hue of the source image combined with the luminance and saturation of the background.
Saturation13Uses the saturation of the source image combined with the hue and luminance of the background.
Color14Uses the hue and saturation of the source image combined with the luminance of the background.
Luminosity15Uses the luminance of the source image combined with the hue and saturation of the background.

Remarks

Blending modes in SVG are used to determine how two layers are blended into each other. This enum provides a variety of options that control how the colors of the blended layers mix and produce different visual effects.

See Also