Animatable

@RememberInComposition
fun Animatable(initialValue: Color): Animatable<Color, AnimationVector4D>

Holds a color that animates through Oklab, the space ColorToVector describes.

A new animation cancels the running one and starts from the color it reached.

Parameters

initialValue

the color the holder starts at.