RAINBOW_STOPS

The hex colours of the multicolour scale for heatmaps and contours, violet for low values through to red for high.

@internote/canvas-sdkConstant
On this page
import { RAINBOW_STOPS } from '@internote/canvas-sdk';

Both this and TEMPERATURE_STOPS are fixed hexes, identical in both themes: a heatmap bakes its scale into pixels, where a CSS variable cannot reach, and theme-relative stops would make light and dark mode read as different documents. Red is the hot end of both.

#Signature

string[]

Declared in packages/canvas-sdk/src/paint/index.ts:147.

Last updated