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.

List<Graphic> → List<GradientStops>
List<Color> → List<GradientStops>
Gradient Type

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

List<GradientStops> → List<GradientStops>
HSLA to Color

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

→ List<Color>
HSVA to Color

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

→ List<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 → List<Color>
Image Color Palette

Node description coming soon.

List<Raster> → List<Color>
RGBA to Color

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

→ List<Color>
Sample Gradient

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

→ List<Color>
Spread Method

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

List<GradientStops> → List<GradientStops>