Unable to change camera background color due to camera's animator

Does anyone know if there is a way to change the main camera’s background color through script while it’s animator is animating? I basically have the camera zooming in and out for an animation and need to change the background color for a color palette script. Thanks.

I mean, is setting the backgroundcolor property not working?