Change background color of a GUI.BOX C#

Hey, ok, so my question is, why doesn't this code work for changing the background color for GUI.box:

GUI.backgroundColor = Color.red;
        GUI.Box(new Rect(10,10, healthBarLength,20), currentHealth+ "/" +maxHealth);

This works fine if I use GUI.Button, so I guess it isn't possible to change the color like this in a box. But how should it be done?

Thanks in advance.

It will work, but the difference is probably due to the GUIStyle being used. By default, GUI.Button uses the "button" style, and GUI.Box uses the "box" style from the active GUI.skin. If you're not seeing the difference, it'll be because of the style. Remember that the color is multiplied in, so if the item uses a lot of black, you won't see any difference.