Alter this to allow to use RGB numbers

I am needing help altering this code to allow me to enter RGB values insted of haveing to type in a specific color.

This is the code:

shield.renderer.material.shader = Shader.Find("Rim");
			shield.renderer.material.SetColor("_RimColor", Color.green);

shield.renderer.material.shader = Shader.Find(“Rim”);
shield.renderer.material.SetColor(“_RimColor”, new Color(1,0,0,1));