Change a material's color

I want to change the color of a material in game. I know how to do this using renderer.material.color, but this only changes the color of the object that the script is attached to. I am wondering if there is a way for me to change the actual material, or to change the color of all objects using the same material?

Use renderer.sharedMaterial.