# contentColor

> Tinting color for all text rendered by the GUI.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.IMGUIModule

```csharp
public static Color contentColor { get; set; }
```

### Remarks

This gets multiplied by [GUI.color](/engine/6000.6/script-reference/unityengine/gui/color.md).

Additional Resources: [GUI.backgroundColor](/engine/6000.6/script-reference/unityengine/gui/backgroundcolor.md), [GUI.color](/engine/6000.6/script-reference/unityengine/gui/color.md).

![GUIContentColor (contentColor)](/api/media?file=/engine/6000.6/media/images/GUIContentColor.png)

*Yellow content color (font) in a button.*

### Examples

```csharp
// Tints with yellow the letters of the button.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour
{
    void OnGUI()
    {
        GUI.contentColor = Color.yellow;
        GUI.Button(new Rect(10, 10, 70, 30), "A button");
    }
}
```
