Unity3d setting custom color material in c#

Hello. I want to set a transparent custom color for gameObject in script but it wont work i tried this:

GameObject.Find ("GhostFoundation").GetComponent<Renderer>().material.color = new Color(0, 255, 76, 114);

but it shows me a error that the color is incorrect and sets it to 255 everywhere. How can i set it to the custom color i want then? setting it by hex or by rgba i also tried this:

//GameObject.Find ("GhostFoundation").GetComponent<Renderer>().material.color.a = 114;
			//GameObject.Find ("GhostFoundation").GetComponent<Renderer>().material.color.b = 76;
			//GameObject.Find ("GhostFoundation").GetComponent<Renderer>().material.color.g = 255;
			//GameObject.Find ("GhostFoundation").GetComponent<Renderer>().material.color.r = 0;

but it does not work it gives me a error because its not a temporary value. This is my color infromation that i want to set to:

Color rendering mode: transparent
Color r = 0
Color g = 255
Color b = 76
Color a = 114

And if needed this is the hex color: #00FF4B71. I hope someone can help me solving this problem.

Use the new Color32 if you want to do values ranging from 0 to 255.

Use the old Color if you want to do values ranging from 0 to 1. (This is why your code doesn’t work.)

GameObject.Find ("GhostFoundation").GetComponent<Renderer>().material.color = new Color32(114, 76, 255, 0);