Color Change of Sprite Renderer

Hi,
Is there any way to change color of Sprite Renderer
Currently , I am using cocos 3.8.
I just want to change sprite color tint in runtime,
Or if it is possible to do with 3d material so good to know ,how can I achive that.

SpriteRenderer does not provide an interface to modify the color. You can change it by modifying the material. To modify the material, you need to add color parameters to the corresponding shader. Like this
surface-effect.effect.zip (1.2 KB)