Change the background color attribute of a camera in C#?

Hey! So, I’m working on a 2D game, and I’d need to change the background color of the main camera, but I just can’t figure out the syntax. I’m making this game in C# and I’d need to have it change from an OnTriggerEnter2D function.
Thanks! :smiley:

PS. Keep in mind, this is a repost, because my other one got closed. There is a background color attribute in the Unity editor, which you can change in a color selection field, but how can I change it in a script in C#? Here is a picture for clarification: The Background attribute. It is blue in this picture.

This is the syntax:

I think this should help you: