interpolateSpectral function Diverging schemes

String interpolateSpectral(
  1. num t
)

Given a number t in the range [0,1], returns the corresponding color from the “Spectral” diverging color scheme represented as an RGB string.

Implementation

String interpolateSpectral(num t) => _interpolateSpectral(t);