<!--
{
  "availability" : [
    "FxPlug: 4.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "professional_video_applications",
  "identifier" : "/documentation/professional_video_applications/FxMatrix44/invertColorMatrix(withTolerance:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Professional Video Applications"
    ],
    "preciseIdentifier" : "c:objc(cs)FxMatrix44(im)invertColorMatrixWithTolerance:"
  },
  "title" : "invertColorMatrix(withTolerance:)"
}
-->

# invertColorMatrix(withTolerance:)

Inverts the matrix if possible.

```
func invertColorMatrix(withTolerance tolerance: Double) -> Bool
```

## Parameters

`tolerance`

A threshold for determining whether inversion is possible. If set to 0, then inversion will only fail if the determininant of the matrix is exactly 0.0.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the invert succeeded; otherwise <doc://com.apple.documentation/documentation/Swift/false>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)