<static> blendMultiply(a, b) → {integer}
Multiplies the backdrop and source color values.
The result color is always at least as dark as either of the two constituent
colors. Multiplying any color with black produces black;
multiplying with white leaves the original color unchanged.
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 1029)
Please login to continue.