<!--
{
  "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" : "ColorSync",
  "identifier" : "/documentation/ColorSync/kColorSyncGainCurveChromaticities",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "ColorSync"
    ],
    "preciseIdentifier" : "c:@kColorSyncGainCurveChromaticities"
  },
  "title" : "kColorSyncGainCurveChromaticities"
}
-->

# kColorSyncGainCurveChromaticities

Chromaticity primaries used to compute the driving signal for the gain curve.

```
var kColorSyncGainCurveChromaticities: Unmanaged<CFString>
```

## Discussion

For standard primaries, pass a `CFNumberRef` (`uint8_t`): 0 = BT.709,
1 = Display P3, 2 = BT.2020. For custom primaries, pass a `CFArrayRef`
of 8 `float` values encoding four xy chromaticity pairs in order R, G, B,
white point; each component in [0, 1] with x + y ≤ 1. The framework rejects
any numeric value other than 0, 1, or 2.

---

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)