Adjacent Colors
Computes two adjacent colors offset by an angle on the color wheel.
Node id color/adjacent
The Adjacent Colors node outputs two colors flanking the input color by a given angle (default 30°) on the color wheel. This creates analogous color harmonies.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| color | Color | { r: 0, g: 0, b: 0, a: 1 } | |
| angle | number | 30 |
Outputs
Behaviour
- Angle offset.
leftshifts hue by-angle/360, andrightshifts hue by+angle/360(defaultangleis 30°). - Preserved channels. Saturation
s, lightnessl, and opacityaremain unchanged. - Default input. Unconnected
colordefaults to opaque black.
Related nodes
- Complementary Color: computes the exact opposite color (+180°).
- Triadic Colors: outputs two colors forming a 120° triadic harmony.
- Color From HSL: constructs a color from HSL fractions.