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

# CIColorMatrix

The properties you use to configure a color matrix filter.

```
protocol CIColorMatrix : CIFilterProtocol
```

## Topics

### Instance Properties

[`aVector`](/documentation/CoreImage/CIColorMatrix/aVector)

The amount of alpha to multiply the source color values by.

[`bVector`](/documentation/CoreImage/CIColorMatrix/bVector)

The amount of blue to multiply the source color values by.

[`gVector`](/documentation/CoreImage/CIColorMatrix/gVector)

The amount of green to multiply the source color values by.

[`rVector`](/documentation/CoreImage/CIColorMatrix/rVector)

The amount of red to multiply the source color values by.

[`biasVector`](/documentation/CoreImage/CIColorMatrix/biasVector)

A vector that’s added to each color component.

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

The image to use as an input image.

## See Also

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

Alters the colors in an image based on vectors provided.



---

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)