---
title: UIImage.SymbolVariableValueMode.color
framework: uikit
role: symbol
role_heading: Case
path: uikit/uiimage/symbolvariablevaluemode/color
---

# UIImage.SymbolVariableValueMode.color

The “color” variable value mode. Sets the opacity of each variable layer to either on or off depending on how its threshold compared to the current value.

## Declaration

```swift
case color
```
