Documentation / Node reference / code nodes

code/ColorConversion

Converts a colour from one colour space to another.

Color

Converts a colour between RGB and another colour space. Oklab and Oklch change evenly to the eye, which suits gradients and hue shifts.

Parameters

Name Type What it does
type UInt8 Hsl2Rgb · Hsv2Rgb · Oklab2Rgb · Oklch2Rgb · Rgb2Hsl · Rgb2Hsv · Rgb2Oklab · Rgb2Oklch Which conversion to apply.
color Color Colour to convert.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.