Color

Nodes in this category build colors from their channels or from text, and pick colors out of gradients and images.

Nodes

NodeDetailsPossible Types
Evaluate Gradient

Evaluates the color at the specified position along the gradient, given a position from 0 (left) to 1 (right). Positions beyond that range follow the gradient's gradient_spread attribute: Pad (default), Reflect, Repeat, or Clear. Colors between stops interpolate in the gradient's gradient_space color space.

→ Color
→ Color[]
HSLA to Color

Constructs a color value from hue, saturation, lightness, and alpha components given as numbers from 0 to 1.

→ Color
→ Color[]
HSVA to Color

Constructs a color value from hue, saturation, value, and alpha components given as numbers from 0 to 1.

→ Color
→ Color[]
Image Color Palette

Finds the colors that best represent the distinct color ranges in an image, ignoring transparent areas.

Raster → Color[]
Raster[] → Color[]
RGBA to Color

Constructs a color value from red, green, blue, and alpha components given as numbers from 0 to 1.

→ Color
→ Color[]
String to Color

Constructs a color value from a CSS color string. Accepts hex (#RRGGBB, #RRGGBBAA, plus bare and shorthand variants), CSS named colors (like red), and functional notations (rgb(...), hsl(...), etc.). Invalid inputs produce a transparent color.

String → Color
String[] → Color[]