I was wondering if you used RGB Numbers or just the word. Examples?
You're probably referring to the example docs which use the shortcuts, like Color.red or Color.green. That's all they are shortcuts. See this page for what they actually mean.
There are some:
renderer.material.color = Color.red;
renderer.material.color = Color.white;
renderer.material.color = Color.black;
renderer.material.color = Color.blue;
renderer.material.color = Color.green;
renderer.material.color = Color.yellow;
I do not recall if there are anymore, but there are some atleast.
Just put them in a empty script if you want, no need for any functions.