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

# CISpotColor

The properties you use to configure a spot color filter.

```
protocol CISpotColor : CIFilterProtocol
```

## Topics

### Instance Properties

[`centerColor1`](/documentation/CoreImage/CISpotColor/centerColor1)

The center value of the first color range to replace.

[`centerColor2`](/documentation/CoreImage/CISpotColor/centerColor2)

The center value of the second color range to replace.

[`centerColor3`](/documentation/CoreImage/CISpotColor/centerColor3)

The center value of the third color range to replace.

[`closeness1`](/documentation/CoreImage/CISpotColor/closeness1)

A value that indicates how closely the first color must match before it’s replaced.

[`closeness2`](/documentation/CoreImage/CISpotColor/closeness2)

A value that indicates how closely the second color must match before it’s replaced.

[`closeness3`](/documentation/CoreImage/CISpotColor/closeness3)

A value that indicates how closely the third color must match before it’s replaced.

[`contrast1`](/documentation/CoreImage/CISpotColor/contrast1)

The contrast of the first replacement color.

[`contrast2`](/documentation/CoreImage/CISpotColor/contrast2)

The contrast of the second replacement color.

[`contrast3`](/documentation/CoreImage/CISpotColor/contrast3)

The contrast of the third replacement color.

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

The image to use as an input image.

[`replacementColor1`](/documentation/CoreImage/CISpotColor/replacementColor1)

A replacement color for the first color range.

[`replacementColor2`](/documentation/CoreImage/CISpotColor/replacementColor2)

A replacement color for the second color range.

[`replacementColor3`](/documentation/CoreImage/CISpotColor/replacementColor3)

A replacement color for the third color range.

## See Also

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

Replaces colors of an image with specifed 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)