Change light color smoothly without Lerp ???

I am trying to change the color of my light smoothly from white to black, but I don’t wont to do it using Lerp is there any other way?

Gradient

you could animate it

Animation