effect-motion
API Referenceeffect-motionNamespacesMotionFunctions

color

function color(to, mode): (from, t) => Color;

Function: color()

function color(to, mode): (from, t) => Color;

Defined in: packages/motion/src/Motion.ts:58

Parameters

ParameterType
toColor
modeInterpolationMode

Returns

(from, t) => Color

On this page