Color

Nodes in this category deal with selecting and manipulating colors, gradients, and palettes.

Nodes

NodeDetailsPossible Types
Colors To Gradient

Constructs a gradient from a List<Color>, where the colors are evenly distributed as gradient stops across the range from 0 to 1.

Graphic[] → GradientStops[]
Color[] → GradientStops[]
Gradient Type

Sets the type (linear or radial) of each gradient in the input list.

GradientStops[] → GradientStops[]
HSLA to Color

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

→ Color[]
HSVA to Color

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

→ Color[]
Hex 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 no color.

String → Color[]
Image Color Palette

Node description coming soon.

Raster[] → Color[]
RGBA to Color

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

→ Color[]
Sample Gradient

Gets the color at the specified position along the gradient, given a position from 0 (left) to 1 (right).

→ Color[]
Spread Method

Sets how each gradient in the input list extends past its endpoints: Pad, Reflect, or Repeat.

GradientStops[] → GradientStops[]