<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIColorPosterize",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(pl)CIColorPosterize"
  },
  "title" : "CIColorPosterize"
}
-->

# CIColorPosterize

The properties you use to configure a color posterize filter.

```
protocol CIColorPosterize : CIFilterProtocol
```

## Topics

### Instance Properties

[`inputImage`](/documentation/CoreImage/CIColorPosterize/inputImage)

The image to use as an input image.

[`levels`](/documentation/CoreImage/CIColorPosterize/levels)

The number of brightness levels to use for each color component.

## See Also

[`colorPosterize()`](/documentation/CoreImage/CIFilter-swift.class/colorPosterize())

Flattens an image’s colors.



---

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)