Are there Compose Color alternatives for the ColorUtils.blend*() methods? I imagine there's something to support the multiple color animation APIs but I'm not sure where to look
r
romainguy
03/19/2021, 11:09 PM
There's a lerp function to interpolate colors
j
Jorkoh
03/19/2021, 11:43 PM
I'm blind 🤦. Thanks Romain!
r
romainguy
03/20/2021, 12:42 AM
You’re not blind, it’s not necessarily obvious 🙂
romainguy
03/20/2021, 12:43 AM
We may have a better version of
lerp()
for colors coming in a future version too (but no promise 🙂