Change color of all instance of a material

Hello,

I have different UI elements, and I would like them to change color over time (all together and same color)

I give them a custom material but I have no many idea on how to proceed.

What is the best way to change the color of all instanced item that use a material ?

GetComponent().material.color
can be used to change the color of a material.

You could also change the color of UI elements using their class in UnityEngine.UI.
Every UI element has a way to change its color value using code.