Changing GUI Text Color

Hello, I would like to change the color of my GUI text but I can’t see to get this script to work…

function OnGUI() 
{
    GUI.color = Color.yellow;    
}

Thanks in advance;)
-sjj100

You will problably have to use a GUIStyle for this, you will need to say you want to use this guistyle in script: