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.
| Name | Type | Range | Default |
|---|---|---|---|
| Color | Color | color | [255, 255, 255, 255, 255, 255] |
Outputs: Grayscale color and a lightness value (0 to 1).
| Name | Type | Range |
|---|---|---|
| Color | Color | color |
| Lightness | Number | any |
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.
| Name | Type | Range | Default |
|---|---|---|---|
| Red | Number | 0-255 | 0 |
| Green | Number | 0-255 | 0 |
| Blue | Number | 0-255 | 0 |
| White | Number | 0-255 | 0 |
| Amber | Number | 0-255 | 0 |
| UV | Number | 0-255 | 0 |
Outputs: The combined color.
| Name | Type | Range |
|---|---|---|
| Color | Color | color |
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.
| Name | Type | Range | Default |
|---|---|---|---|
| T | Number | 0-1 | 0 |
| Bias | Vector | vec:0-1 | [0.5, 0.5, 0.5] |
| Amplitude | Vector | vec:0-1 | [0.5, 0.5, 0.5] |
| Frequency | Vector | vec | [1, 1, 1] |
| Phase | Vector | vec: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.
| Name | Type | Range |
|---|---|---|
| Color | Color | color |
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).
| Name | Type | Range | Default |
|---|---|---|---|
| Hue | Number | any (wraps every 1) | 0 |
| Saturation | Number | 0-1 | 0 |
| Lightness | Number | 0-1 | 0 |
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.
| Name | Type | Range |
|---|---|---|
| Red | Number | 0-255 |
| Green | Number | 0-255 |
| Blue | Number | 0-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.
| Name | Type | Range | Default |
|---|---|---|---|
| Color | Color | color | [0, 0, 0, 0, 0, 0] |
| Merge White | Boolean | bool | false |
Outputs: Hue (0-1, rainbow position), Saturation (0-1, color intensity), Lightness (0-1, brightness).
| Name | Type | Range |
|---|---|---|
| Hue | Number | 0-1 |
| Saturation | Number | 0-1 |
| Lightness | Number | 0-1 |
Split Color
Separates a color into its individual channels. Use to manipulate or read specific color components.
Inputs: A color to split.
| Name | Type | Range | Default |
|---|---|---|---|
| Color | Color | color | [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.
| Name | Type | Range |
|---|---|---|
| Red | Number | 0-255 |
| Green | Number | 0-255 |
| Blue | Number | 0-255 |
| White | Number | 0-255 |
| Amber | Number | 0-255 |
| UV | Number | 0-255 |