How to colour individual labels with UnityScript?

What I have is a turn order. I’ve written script that cycles through an array and depending on the values in the array turns are assigned to the player and to the enemy.
What I’m trying to make is a visual representation.

So, on turn one, if it’s an enemy turn, I want it to be coloured red, and on turn two, if it’s a friendly turn I want it to be coloured blue. Sometimes the enemy or the player might get two or three turns, or even more in a row, and they would all have to be coloured blue, or red accordingly.

I have little to no idea on how to go about doing this, any help would be much appreciated, thank you!

If you want just a color change you can use GUI.color. But if you want more controls on your label, like font, size or whatever, you need to use a GUISkin and switch between GUIStyles. I recommend using GUISkin, it is done for that.

If you want to set the color of a label, check out GUIStyle and its members. Allow me to demonstrate:

var label1Style : GUIStyle;

function Start()
{
	label1Style.normal.textColor = Color.Green;
}

function OnGUI()
{
	GUI.Label(Rect(5,5,50,50), "Label1", label1Style);
}