leadColour

The first colour a value names — what a mark's own label is written in: a written colour, or the first look of the map it applies. Undefined for a ramp, whose colour is a place along it.

@internote/canvas-sdkFunction
On this page
import { leadColour } from '@internote/canvas-sdk';

#Signature

(value: unknown): string | undefined

Declared in packages/canvas-sdk/src/data/item-looks.ts:251.

Last updated