How do I change the color of imported blender models

So I imported some blender models and they have the mesh made as a child of the prefab. I want to use a script attached to the prefab to change the color around. How can I do that?

Make sure that the child has a dedicated material, then use renderer.material.color to change the colour of it. If you are using textures make sure that the texture is in greysacle so different colours can be applied to it.

You can change colors at runtime without needing unique materials.

renderer.material.SetColor ("_Color", yourColor);

This changes the diffuse color channel for only that particular instance, and no others. I used it in a puzzle game where I had blocks that were colored individually at runtime, then pulsed different colors when hovered over.