using color picker from inspector in script

I’m setting up some colors using unity’s built in color picker in the inspector by defining a Color object in c# script. i.e.

public Color buttonBGColor;

And I’d like to use this to change a objects color component, such as:

buttonBGSprite.color = new Color(0.77f, 0.45f, 0.32f);

However, using how I thought you would phrase this does not work

buttonBGSprite.color = buttonBGColor;

What is the proper formatting for getting a Color from the inspector onto an object?

A color component does not exist as far as i am aware of. But, you can change the color of the render’s material, witch will change the color of the object:
renderer.material.color = buttonBGColor;

I have same problem