> ## Documentation Index
> Fetch the complete documentation index at: https://hyperframes.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Blend Difference

> Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background

# Blend Difference

Auto-inverting text using mix-blend-mode: difference — flips between white and black per-pixel against the background

`text` `effect` `blend-mode` `contrast` `inversion`

<video className="w-full aspect-video rounded-xl object-cover bg-zinc-100 dark:bg-zinc-800" src="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-blend-difference.mp4" poster="https://static.heygen.ai/hyperframes-oss/docs/images/catalog/components/caption-blend-difference.png" autoPlay muted loop playsInline />

## Install

<CodeGroup>
  ```bash Terminal theme={null}
  npx hyperframes add caption-blend-difference
  ```
</CodeGroup>

## Details

| Property | Value     |
| -------- | --------- |
| Type     | Component |

## Files

| File                            | Target                                                  | Type                |
| ------------------------------- | ------------------------------------------------------- | ------------------- |
| `caption-blend-difference.html` | `compositions/components/caption-blend-difference.html` | hyperframes:snippet |

## Usage

Open `compositions/components/caption-blend-difference.html` and paste its contents into your composition. See the comment header in the file for detailed instructions.
