Skip to main content
Documentation
Node Editor

Color Nodes

Color manipulation and conversion nodes for working with RGB, HSV, and other color spaces.

Color manipulation and conversion nodes for working with RGB, HSV, and other color spaces.

This category contains 6 nodes.

Nodes

Color Grayscale

Converts a color to grayscale, preserving white channels. Also outputs the overall lightness as a number.

Inputs: A color to convert.

NameTypeRangeDefault
ColorColorcolor[255, 255, 255, 255, 255, 255]

Outputs: Grayscale color and a lightness value (0 to 1).

NameTypeRange
ColorColorcolor
LightnessNumberany

Combine Color

Builds a color from separate channel values. Use when you need individual control over each color channel.

Inputs: One value per Red, Green, Blue, White, Amber, and UV emitter, as that emitter's share of its full light output on a 0-255 scale, where 255 is the emitter at full and 128 is half its light. Spectralite works out the DMX level each fixture needs to put out that much light.

NameTypeRangeDefault
RedNumber0-2550
GreenNumber0-2550
BlueNumber0-2550
WhiteNumber0-2550
AmberNumber0-2550
UVNumber0-2550

Outputs: The combined color.

NameTypeRange
ColorColorcolor

Cosine Palette

Builds a smooth looping color ramp from four control vectors, one component per RGB channel: Bias sets the average color, Amplitude the contrast, Frequency how many times each channel cycles, and Phase where each channel starts. Sweep T with time or position for a smooth gradient.

Inputs: T (the position along the ramp, usually 0-1) plus the bias, amplitude, frequency, and phase vectors.

NameTypeRangeDefault
TNumber0-10
BiasVectorvec:0-1[0.5, 0.5, 0.5]
AmplitudeVectorvec:0-1[0.5, 0.5, 0.5]
FrequencyVectorvec[1, 1, 1]
PhaseVectorvec:0-1[0, 0.33, 0.67]

Outputs: The sampled color, with each channel clamped to the 0-255 scale, where 255 is that emitter at full.

NameTypeRange
ColorColorcolor

HSL to RGB

Creates colors using Hue, Saturation, and Lightness. Easier for creating color cycles and rainbow effects.

Inputs: Hue (cycles through the rainbow every 1.0; any value works, it is wrapped into 0-1 internally so a rising time input keeps cycling), Saturation (0=gray, 1=vivid), Lightness (0=black, 0.5=full color, 1=white).

NameTypeRangeDefault
HueNumberany (wraps every 1)0
SaturationNumber0-10
LightnessNumber0-10

Outputs: Red, Green, and Blue, as each emitter's share of its full light output on a 0-255 scale, where 255 is the emitter at full.

NameTypeRange
RedNumber0-255
GreenNumber0-255
BlueNumber0-255

RGBW to HSL

Extracts Hue, Saturation, and Lightness from a color. Useful for manipulating colors in HSL space.

Inputs: A color to analyze. 'Merge White' blends the white channel into RGB before conversion.

NameTypeRangeDefault
ColorColorcolor[0, 0, 0, 0, 0, 0]
Merge WhiteBooleanboolfalse

Outputs: Hue (0-1, rainbow position), Saturation (0-1, color intensity), Lightness (0-1, brightness).

NameTypeRange
HueNumber0-1
SaturationNumber0-1
LightnessNumber0-1

Split Color

Separates a color into its individual channels. Use to manipulate or read specific color components.

Inputs: A color to split.

NameTypeRangeDefault
ColorColorcolor[0, 0, 0, 0, 0, 0]

Outputs: Separate Red, Green, Blue, White, Amber, and UV values, as each emitter's share of its full light output on a 0-255 scale, where 255 is the emitter at full.

NameTypeRange
RedNumber0-255
GreenNumber0-255
BlueNumber0-255
WhiteNumber0-255
AmberNumber0-255
UVNumber0-255