ColorSubtract
Subtracts Color B from Color A channel by channel and outputs each component clamped to 0-1. Components that swing negative stop at 0. Ports that are not connected use the value in the inline color field on the node, and that value is saved with the project.
- Color A — default is white
- Color B — default is black
Subtraction is applied to alpha as well. With the defaults (A white, B black, both with alpha 1) the output alpha becomes 1 − 1 = 0. If the color still comes out white but is treated as transparent downstream, suspect this.
Input ports
| Port ID | Type |
|---|---|
Color A | Color |
Color B | Color |
Output ports
| Port ID | Type |
|---|---|
Color | Color |
Synapse Apps (scripting)
await synapse.modules.create({ type: "ColorSubtract" }) 

