Change colour of mobile VertexLit or Deffuse

Is it possible to change the colour of a Mobile VertexLit or Mobile Deffuse shader like below ?

renderer.material.color = Color.red;

to change a color of material your shader must support this color as a parameter. all parameters that shader supports you can see in material properties when you choose a shader. if there’s no color property, then answer no - you can not change a color such way. add color property and modify calculation inside shader source or choose another shader that supports color change.

Thank you …