design-infraGitHub
Report a problem or share feedback← Catalog

Color interpolation

free

motion/color-interpolation

A comparison of color interpolation between Motion and the browser's native interpolation. Motion uses linear RGB color space, which avoids the dimming effect suffered by browser interpolation.

drag — mediumrecipeFuturisticRefinedPlayful
$pnpm add motion # then adapt the free source from https://motion.dev/examples/react-color-interpolation

npm deps: motion

Color interpolation preview
Source
Motion (motion.dev)
Kind
transition
Categories
transition
Use as
recipe — technique you apply to your own markup
Motion
on drag · medium · motion · medium cost
Tags
motion, useAnimate
Licence
motion / motion/react / motion-v are MIT. Motion+ (premium components, example source, AI Kit pro tools) is paid — one-time Personal licence or per-seat Business.
Live demo
motion.dev
Docs
motion.dev