-
Notifications
You must be signed in to change notification settings - Fork 3
Blend modes and formulas
Evgeny Kopylov edited this page Mar 23, 2021
·
1 revision
This page contains a complete list of blend modes and formulas behind them.
Variables in formulas below have the following meaning:
- A, B ─ colors
- a, b ─ color components
- A ─ pixel color from active (top) layer
- B ─ pixel color from background layer
Mode name | Function name | Formula |
---|---|---|
Normal group | ||
Dissolve | dissolve | |
Darken group | ||
Darken | darken | |
Multiply | multiply | |
Color Burn | color_burn | |
Linear Burn | linear_burn | |
Darker Color | darker_color | |
Lighten group | ||
Lighten | lighten | |
Screen | screen | |
Color Dodge | color_dodge | |
Linear Dodge | linear_dodge | |
Lighter Color | lighter_color | |
Contrast group | ||
Overlay | overlay | |
Soft Light | soft_light | |
Hard Light | hard_light | |
Vivid Light | vivid_light | |
Linear Light | linear_light | |
Pin Light | pin_light | |
Hard Mix | hard_mix | |
Inversion group | ||
Difference | difference | |
Exclusion | exclusion | |
Cancellation group | ||
Subtract | subtract | |
Divide | divide | |
Component group | ||
Hue | hue | |
Saturation | saturation | |
Color | color | |
Luminosity | luminosity |