# SetTints(Color?, Color?)

> Overrides the outline and/or shadow tint for this glyph. Pass null to leave a field at the element baseline ( unityTextOutlineColor / textShadow.color ).

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public void SetTints(Color? outline = null, Color? shadow = null)
```

### Parameters

**** (\[Color?]\(https\://learn.microsoft.com/dotnet/api/system.nullable)): **** (\[Color?]\(https\://learn.microsoft.com/dotnet/api/system.nullable)):&#x20;

### Remarks

Not additive: each call rebuilds from the element baseline, so pass both `outline` and `shadow` together if you need both. Only valid inside a [TextElement.PostProcessTextVertices](/engine/6000.7/script-reference/unityengine/uielements/textelement/postprocesstextvertices.md) callback.
