Report a problem or share feedback← Catalog
Color interpolation
freemotion/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.
$
pnpm add motion # then adapt the free source from https://motion.dev/examples/react-color-interpolationnpm deps: motion

- 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
Similar
Compare all 4 →- Motion presetsoc/motion-presetsdesign-infra's motion languages (still / quiet / lively / cinematic) as motion/react transitions, springs and variants (fadeUp, scaleIn, stagger, press, lift). Set PROJECT_MOTION to your DESIGN.md `motion:` so hand-written animations match the system.
- Dragmotion/dragdrag + constraints + momentum: draggable cards, swipeable panels, sliders. Free example (motion is MIT); copy and adapt the source from the example page.
- Reorder animationmotion/reorder-itemsReorder: drag-to-reorder lists with automatic layout animation — settings lists, kanban columns, playlists. Free example (motion is MIT); copy and adapt the source from the example page.