ColorSubtract

Read with AI
All docs in one file (llms-full.txt)
ColorSubtract #Color #Node
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 IDType
Color AColor
Color BColor

Output ports

Port IDType
ColorColor

Synapse Apps (scripting)

await synapse.modules.create({ type: "ColorSubtract" })

Also referenced from