Complementary Color

Computes the complementary color (+180° hue shift).

Node id color/complementary

The Complementary Color node outputs the exact opposite color on the color wheel by shifting the input hue by 180° (+0.5 in HSL fraction). Saturation, lightness, and opacity are preserved.

Inputs

NameTypeDefaultNotes
colorColor{ r: 0, g: 0, b: 0, a: 1 }

Outputs

NameTypeNotes
complementColor

Behaviour

  • Hue shift. Adds 180° (+0.5 fraction) to the hue of color. The resulting hue wraps cyclicly around the color wheel.
  • Preserved channels. Saturation s, lightness l, and opacity a remain unchanged.
  • Default input. Unconnected color defaults to opaque black.
© 2026 Wirepaint