hueValue

Refines a heatmap, contour or choropleth colour: colourValue, but accepting only the plain hues and the hex(…) and rgb(…) literals.

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

A heatmap, a contour or a choropleth paints a range rather than a colour, and a bare hue names the whole of its scale for exactly that. A tone would be one end of the range asking to be the range.

#Signature

(input: string): RefineResult

#Parameters

input
The value as written.

Declared in packages/canvas-sdk/src/refine/value-refiners.ts:624.

Last updated