Enum PixelColorBlendingMode
- Namespace
- SixLabors.ImageSharp.PixelFormats
- Assembly
- SixLabors.ImageSharp.dll
Enumerates the various color blending modes.
public enum PixelColorBlendingMode
Fields
Add = 2Blends the 2 values by addition.
Color = 16Uses the hue and saturation of the source color with the luminosity of the backdrop color.
ColorBurn = 10Darkens the backdrop color to reflect the source color.
ColorDodge = 9Brightens the backdrop color to reflect the source color.
Darken = 5Selects the minimum of the backdrop and source values.
Difference = 12Subtracts the darker color from the lighter color.
Exclusion = 13Produces an effect similar to Difference with lower contrast.
HardLight = 8Multiplies or screens the colors, depending on the source value.
Hue = 14Uses the hue of the source color with the saturation and luminosity of the backdrop color.
Lighten = 6Selects the max of the backdrop and source values.
Luminosity = 17Uses the luminosity of the source color with the hue and saturation of the backdrop color.
Multiply = 1Blends the 2 values by multiplication.
Normal = 0Default blending mode, also known as "Normal" or "Alpha Blending"
Overlay = 7Multiplies or screens the values, depending on the backdrop vector values.
Saturation = 15Uses the saturation of the source color with the hue and luminosity of the backdrop color.
Screen = 4Multiplies the complements of the backdrop and source values, then complements the result.
SoftLight = 11Darkens or lightens the colors, depending on the source color.
Subtract = 3Blends the 2 values by subtraction.