Color From HSL

A color from hue, saturation and lightness.

Node id color/from-hsl

The Color From HSL node outputs the color with hue h, saturation s, lightness l and opacity a. HSL is often easier to vary than red, green and blue: change h to go around the color wheel, keeping the colors equally bright.

Inputs

NameTypeDefaultNotes
hnumber0
snumber1
lnumber0.5
anumber1

Outputs

NameTypeNotes
colorColor

Behaviour

  • Fractions. All four inputs go from 0 to 1, not 0 to 360 or 0 to 100:
    • h: 0 is red, 1/3 green, 2/3 blue, and 1 red again;
    • s: 0 is gray, 1 the full color;
    • l: 0 is black, 0.5 the full color, 1 white;
    • a: 0 is transparent, 1 opaque.
  • Defaults. h 0, s 1, l 0.5 and a 1: an opaque, bright red.
  • Out of range. The hue wraps around (1.25 is the same as 0.25, -0.1 as 0.9), so it can keep increasing. Saturation, lightness and opacity are limited to 0 to 1.
© 2026 Wirepaint