<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVProResRawMetadata/colorMatrix",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "s:9CoreVideo19CVProResRawMetadataV11colorMatrixs11InlineArrayVy$8_SfGvp"
  },
  "title" : "colorMatrix"
}
-->

# colorMatrix

This is a 3x3 matrix which transforms linear RGB pixel values in the camera native color space to CIE 1931 XYZ
values relative to the D65 illuminant, where the matrix entries are stored in row-major order.

```
var colorMatrix: InlineArray<9, Float32>
```

---

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)