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 table of colors, where the colors are evenly distributed as gradient stops across the range from 0 to 1.

Table<Graphic> → Table<GradientStops>
Table<Color> → Table<GradientStops>
HSLA to Color

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

→ Table<Color>
HSVA to Color

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

→ Table<Color>
Hex to Color

Constructs a color value from an sRGB color code string, such as #RRGGBB or #RRGGBBAA. Invalid hex code strings produce no color.

String → Table<Color>
Image Color Palette

Node description coming soon.

Table<Raster> → Table<Color>
RGBA to Color

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

→ Table<Color>
Sample Gradient

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

→ Table<Color>