bInterpolateColor(node, color1, color2, [colorSpace = "rgb"])
Interpolate the node from 0 to 1 without clamping.
const from = { r: 197, g: 43, b: 39 };const to = { r: 225, g: 176, b: 68 };bInterpolateColor(node, from, to);
See also: interpolateColor