# contentColor

> Tinting color for all text rendered by the GUI.

## Definition

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

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

### Remarks

This gets multiplied by [\_color](/engine/6000.7/script-reference/unityengine/gui/color.md).

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

Yellow content color (font) in a button.

Additional Resources: [\_backgroundColor](/engine/6000.7/script-reference/unityengine/gui/backgroundcolor.md), [\_color](/engine/6000.7/script-reference/unityengine/gui/color.md)

### 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");
    }
}
```
