Table of Contents

Enum PixelColorBlendingMode

Namespace
SixLabors.ImageSharp.PixelFormats
Assembly
SixLabors.ImageSharp.dll

Enumerates the various color blending modes.

public enum PixelColorBlendingMode

Fields

Add = 2

Blends the 2 values by addition.

Color = 16

Uses the hue and saturation of the source color with the luminosity of the backdrop color.

ColorBurn = 10

Darkens the backdrop color to reflect the source color.

ColorDodge = 9

Brightens the backdrop color to reflect the source color.

Darken = 5

Selects the minimum of the backdrop and source values.

Difference = 12

Subtracts the darker color from the lighter color.

Exclusion = 13

Produces an effect similar to Difference with lower contrast.

HardLight = 8

Multiplies or screens the colors, depending on the source value.

Hue = 14

Uses the hue of the source color with the saturation and luminosity of the backdrop color.

Lighten = 6

Selects the max of the backdrop and source values.

Luminosity = 17

Uses the luminosity of the source color with the hue and saturation of the backdrop color.

Multiply = 1

Blends the 2 values by multiplication.

Normal = 0

Default blending mode, also known as "Normal" or "Alpha Blending"

Overlay = 7

Multiplies or screens the values, depending on the backdrop vector values.

Saturation = 15

Uses the saturation of the source color with the hue and luminosity of the backdrop color.

Screen = 4

Multiplies the complements of the backdrop and source values, then complements the result.

SoftLight = 11

Darkens or lightens the colors, depending on the source color.

Subtract = 3

Blends the 2 values by subtraction.