# DynamicColor

> Optimizes rendering of a VisualElement for frequent color changes, such as a built-in style color being animated.

## Definition

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

```csharp
DynamicColor = 8
```

### Remarks

This option fetches color from a GPU buffer to prevent re-tessellating geometry or CPU updates when colors change.

Apply this option on a VisualElement that changes any of the following style properties:

* `background-color`

* `border-color`

* `color`

* `border-bottom-color`

* `border-left-color`

* `border-right-color`

* `border-top-color`

* `text-color`

* `unity-background-image-tint-color`
