Skip to main content

convert

Node Type ID: "studio.tokens.color.convert"

Package

This is a core package available at Graph Engine

To install

npm install @tokens-studio/graph-engine

Description

Converts a color from one color space to another and exposes the channels as outputs

Inputs

color

No description

space

No description

Outputs

a

The first channel of the color

b

The second channel of the color

c

The third channel of the color

channels

The channels of the color as an array of numbers

d

The fourth channel of the color. This is optional and only present in some color spaces

labels

No description

Example

No examples