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

# kColorSyncComponentMix

Component mixing type (uint8_t) matching `component_mixing_value` in ST 2094-50.

```
var kColorSyncComponentMix: Unmanaged<CFString>
```

## Discussion

Determines how the framework derives the scalar driving signal from the RGB pixel:

- 0 = MAX(R, G, B)
- 1 = single component (the framework applies the gain curve to individual components)
- 2 = luma_A (sum of 1/6 of each color channel and 1/2 of MAX(R, G, B))
- 3 = free-style (custom linear combination via [`kColorSyncComponentCoefficients`](/documentation/ColorSync/kColorSyncComponentCoefficients))

Shared across all alternates from index 0 when [`kColorSyncCommonComponentMixing`](/documentation/ColorSync/kColorSyncCommonComponentMixing) is true.

---

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)