<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateMLComponents",
  "identifier" : "/documentation/CreateMLComponents/ImageColorTransformer/init(brightness:contrast:hue:saturation:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Create ML Components"
    ],
    "preciseIdentifier" : "s:18CreateMLComponents21ImageColorTransformerV10brightness8contrast3hue10saturationACSfSg_A3Htcfc"
  },
  "title" : "init(brightness:contrast:hue:saturation:)"
}
-->

# init(brightness:contrast:hue:saturation:)

Creates an image color transformer.

```
init(brightness: Float? = nil, contrast: Float? = nil, hue: Float? = nil, saturation: Float? = nil)
```

## Parameters

`brightness`

The brightness adjustment, between 0.0 and 1.0.

`contrast`

The contrast adjustment, between 0.0 and 1.0.

`hue`

The hue adjustment, between 0.0 and 1.0.

`saturation`

The saturation adjustment, between 0.0 and 1.0.

---

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)