$ git show color-shift

Color shift

Basic/anim color-shift

Smoothly blend between two colors based on state.

Main · New Architecture only · worklets live in react-native-worklets
transitionPropertybackgroundColorCSS transitions
color-shift.tsx · reanimated 4
<Animated.View
  style={[styles.box, {
    backgroundColor: active ? '#E2614A' : '#0B7A93',
    transitionProperty: 'backgroundColor',
    transitionDuration: '300ms',
  }]}
/>