---
title: kColorSyncGainCurveChromaticities
framework: colorsync
role: symbol
role_heading: Global Variable
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: colorsync/kcolorsyncgaincurvechromaticities
---

# kColorSyncGainCurveChromaticities

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

## Declaration

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

## Discussion

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.

## See Also

### Describing gain curves

- [kColorSyncAlternateCurveHeadroomStops](colorsync/kcolorsyncalternatecurveheadroomstops.md)
- [kColorSyncCommonComponentMixing](colorsync/kcolorsynccommoncomponentmixing.md)
- [kColorSyncCommonCurveParameters](colorsync/kcolorsynccommoncurveparameters.md)
- [kColorSyncComponentMix](colorsync/kcolorsynccomponentmix.md)
- [kColorSyncControlPointSlopes](colorsync/kcolorsynccontrolpointslopes.md)
- [kColorSyncControlPointsX](colorsync/kcolorsynccontrolpointsx.md)
- [kColorSyncControlPointsY](colorsync/kcolorsynccontrolpointsy.md)
- [kColorSyncInterpolateSlopes](colorsync/kcolorsyncinterpolateslopes.md)
- [kColorSyncMaxControlPointIndex](colorsync/kcolorsyncmaxcontrolpointindex.md)
