// You can set the transparency together with the color:
SpriteRenderer.color = new Color(1f,1f,1f,1f);
If your PNG is already supposed to be transparent, but it shows a white background in the inspector, Click on it then under the inspector click on the checkbox "Alpha Is Transparency".
That will set the white background transparent.