Color Nodes
Build, split, and convert colors, including HSL conversion and a cosine palette.
This category contains 6 nodes.
Nodes
Color Grayscale
Converts a color to grayscale and keeps its white channels. It 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, so you control each channel on its own.
Inputs: One value each for the Red, Green, Blue, White, Amber, and UV emitters. Each value is that emitter's share of its full light output, on a 0-255 scale. 255 is the emitter at full, and 128 is half its light. Spectralite calculates 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, with one component per RGB channel. Bias sets the average color, and Amplitude sets the contrast. Frequency sets how many times each channel cycles, and Phase sets 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
Converts Hue, Saturation, and Lightness to Red, Green, and Blue values. Color cycles and rainbow effects are easier to build in HSL than in RGB.
Inputs: Hue cycles through the rainbow every 1.0. Any value works because the node wraps it into 0-1, so a rising time input keeps cycling. Saturation runs from 0 (gray) to 1 (vivid). Lightness runs from 0 (black) through 0.5 (full color) to 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 values. Each value is that 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. Use it to adjust a color in HSL terms.
Inputs: The color to analyze. Merge White blends the white channel into RGB before the 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 it to read or change specific channels.
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. Each value is that 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 |