<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/Accelerate/vImage/BlendMode/darken",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Accelerate"
    ],
    "preciseIdentifier" : "s:10Accelerate6vImageO9BlendModeO6darkenyA2EmF"
  },
  "title" : "vImage.BlendMode.darken"
}
-->

# vImage.BlendMode.darken

Sets each channel of the destination pixel as the darkest value for the corresponding channel of the two source layers.

```
case darken
```

## Discussion

The following image shows the result of compositing using the darken blend mode:

![Graphic showing the darken blend mode composite operation.](images/com.apple.accelerate/media-3958272@2x.png)

The bottom-right quadrant in the result is black because no pixels in the bottom layer are darker than the corresponding pixels in the top layer.

The bottom-left quadrant in the result looks darker than the corresponding quadrant in the bottom layer. This is because the operation selects gray pixels from the top layer over corresponding light pixels from the bottom layer.

## See Also

  <doc://com.apple.accelerate/documentation/Accelerate/compositing-images-with-alpha-blending>



---

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)