How do I change color of texture?

I make a 2D game. so I use a SpriteManager2.
I want to do following.

  1. Sprite is filled as white.
  2. Sprite fade in from white to origin color.

So I change a material color using renderer.material.SetColor(new Color(1, 1, 1, 1)).

But sprite is just bright instead of to be filled as white.

How can i do it? answer please:)

Thanks for reading!.

I haven’t tried your but this always works for me:
transform.renderer.material.color = Color.red;
But also you make a mistake:
You can define a color like this: Color(1,0.5,0,0);
If you want to use 256 bit color system then you need to divide “1” to “255”
For example: Color(255/255, 255/255, 255/255, 255/255);
But for white color, I advise you to just say:
Color.white;