Nodes ▸ Functions ▸ Colors

Compose RGBA

Assembles red, green and blue channels, and an optional alpha channel a (shown once connected or pinned), into one array of RGBA colors. Without a, alpha is 1.0.

Compose RGBArgb

Inputs

PortAcceptsRequiredDescription
r primitive(array) primitive(number) required Red channel
g primitive(array) primitive(number) required Green channel
b primitive(array) primitive(number) required Blue channel
a primitive(array) primitive(number) optional, quiet: shown when relevant, connected or pinned Alpha channel (default 1.0, opaque)

Outputs

primitive(array)

Parameters

ParameterKindDefaultChoices / rangeUnitNotes
Input range
input_range
choice 0-1 0-1 | 0-255

Used by

No stock template or group uses this node.