Colour nodes build, blend and scale RGB values.
This page lists 6 nodes.
Compose RGB
compose-rgb
Combines red, green and blue channels into a colour.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
red | float | Yes | 1 |
green | float | Yes | 1 |
blue | float | Yes | 1 |
Outputs
HSV to RGB
hsv-to-rgb
Builds an RGB colour from hue, saturation and brightness.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
hue | float | Yes | 0 |
saturation | float | Yes | 1 |
brightness | float | Yes | 1 |
Outputs
Add Colours
add-colour
Adds two colours.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | vec3 | Yes | [1, 1, 1] |
b | vec3 | Yes | [1, 1, 1] |
Outputs
Multiply Colours
multiply-colour
Multiplies two colours.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | vec3 | Yes | [1, 1, 1] |
b | vec3 | Yes | [1, 1, 1] |
Outputs
Mix Colours
mix-colour
Blends between two colours.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | vec3 | Yes | [1, 1, 1] |
b | vec3 | Yes | [0, 0, 0] |
amount | float | Yes | 0.5 |
Outputs
Scale Colour
scale-colour
Multiplies a colour by a scalar brightness value.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
colour | vec3 | Yes | [1, 1, 1] |
factor | float | Yes | 1 |
Outputs