---
title: accessibilityInvertColors
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/accessibilityinvertcolors
---

# accessibilityInvertColors

Whether the system preference for Invert Colors is enabled.

## Declaration

```swift
var accessibilityInvertColors: Bool { get }
```

## Discussion

Discussion If this property’s value is true then the display will be inverted. In these cases it may be needed for UI drawing to be adjusted to in order to display optimally when inverted.

## See Also

### Managing color

- [accessibilityIgnoresInvertColors(_:)](swiftui/view/accessibilityignoresinvertcolors(_:).md)
- [accessibilityDifferentiateWithoutColor](swiftui/environmentvalues/accessibilitydifferentiatewithoutcolor.md)
