Can you apply a 'viewport color' to multiple objects at once?

I have an car in my scene, that I want to give a single color in my viewport (when set to solid mode > material). Lets say I want the entire object pink.
The car is made up from a lot of smaller objects (parented to an empty)

I know I can select an object, and set it’s viewport color to pink… but i dont want to do this for all the objects seperately

Can this be done automatically to all the objects?