---
title: "ColorSyncProfileCreateWithDisplayID(_:)"
framework: colorsync
role: symbol
role_heading: Function
platforms: [Mac Catalyst 13.0+, macOS 10.13+]
path: "colorsync/colorsyncprofilecreatewithdisplayid(_:)"
---

# ColorSyncProfileCreateWithDisplayID(_:)

Creates a profile for the specified display.

## Declaration

```swift
func ColorSyncProfileCreateWithDisplayID(_ displayID: UInt32) -> Unmanaged<ColorSyncProfile>?
```

## Parameters

- `displayID`: The system-wide unique display ID (defined by IOKit); pass 0 for the main display.

## Return Value

Return Value A new profile, or NULL in case of failure.

## See Also

### Reading display gamma and profiles

- [ColorSyncProfileEstimateGammaWithDisplayID(_:_:)](colorsync/colorsyncprofileestimategammawithdisplayid(_:_:).md)
- [ColorSyncProfileGetDisplayTransferFormulaFromVCGT(_:_:_:_:_:_:_:_:_:_:)](colorsync/colorsyncprofilegetdisplaytransferformulafromvcgt(_:_:_:_:_:_:_:_:_:_:).md)
- [ColorSyncProfileCreateDisplayTransferTablesFromVCGT(_:_:)](colorsync/colorsyncprofilecreatedisplaytransfertablesfromvcgt(_:_:).md)
