<static> blendVividLight(a, b) → {integer}
This blend mode combines Color Dodge and Color Burn (rescaled so that neutral colors become middle gray).
Dodge applies when values in the top layer are lighter than middle gray, and burn to darker values.
The middle gray is the neutral color. When color is lighter than this, this effectively moves the white point of the bottom
layer down by twice the difference; when it is darker, the black point is moved up by twice the difference. The perceived contrast increases.
Parameters
Name | Type | Description |
---|---|---|
a | integer | The source color to blend, in the range 1 to 255. |
b | integer | The backdrop color to blend, in the range 1 to 255. |
Returns
integer -
The blended color value, in the range 1 to 255.
- Source code: utils/Color.js (Line 1272)
Please login to continue.