Richtext doesn't work

For some reason, RichText in GUI doesn’t work for me. Nothing -colors, other things, even as basic thing as bold face doesn’t work. I have following code:

Rect descriptionRect = new Rect(invrect.x+((invrect.width/4)*4),invrect.y,invrect.width/3,invrect.height);
			GUIStyle boxstyle = GUI.skin.box;
			boxstyle.wordWrap=true;
			boxstyle.alignment = TextAnchor.MiddleLeft;
			boxstyle.richText=true;
			GUI.Box(descriptionRect,"<color:a40000>Name:</color> "+Globals.playerInventory.getItemName(Globals.SelectedItemID)+"

"+"color:c69500Amount: “+Globals.playerInventory.getItemAmount(Globals.SelectedItemID).ToString()+”
"+"color:00a400Description: "+Globals.playerInventory.getItemDescription(Globals.SelectedItemID),boxstyle);

Should work, right? Nope - even since I specifically set richText to true, text still turns out as:

color:a40000Name: placeholder name
color:c69500Amount: 1223
color:00a400Description: placeholder description

Not even tags are removed which would mean that something is going on behind the scenes. This is same even for most basic tags such as or .

EDIT: Intially, I thought this was because of a null font setting, but I have since tested with and without a font being assigned. If the font is not assigned, it does use the default Arial font despite returning a null value for the font.

The real problem exists in the syntax of your color tags which I overlooked earlier. Your tags should be declared like this in your string:

string colorName = "<color=#a40000>Name:</color>";

Apparently the use of a colon is disallowed for tagging in this case. Additionally, I dug up this nice reference on RichText from the manual that has predefined color tags you can use like this:

string testColor ="<color=red>Name:</color>";