---
title: prefersColorMatch
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsimage/preferscolormatch
---

# prefersColorMatch

A Boolean value that indicates whether the image prefers to choose image representations using color-matching or resolution-matching.

## Declaration

```swift
var prefersColorMatch: Bool { get set }
```

## Discussion

Discussion When the value of this property is true, the image attempts to match the color capabilities of the rendering device first. When it is false, the image prefers resolution-matching first. The default value is true. Both color-matching and resolution-matching may influence the choice of an image representation. You use this method to choose which technique should be used first during the selection process.

## See Also

### Setting the Representation Selection Criteria for Images

- [usesEPSOnResolutionMismatch](appkit/nsimage/usesepsonresolutionmismatch.md)
- [matchesOnMultipleResolution](appkit/nsimage/matchesonmultipleresolution.md)
