> For the complete documentation index, see [llms.txt](https://tk233.gitbook.io/notes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tk233.gitbook.io/notes/tools/windows/sai-color-flip-color-inversion.md).

# SAI Color Flip/Color Inversion

SAI does not provide color flip/color inversion functionality directly, but we can achieve this flip with blend mode.

For example, if we want to flip the following image:

<figure><img src="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-3ec3af3ab19ce21d5ca4923a8637387b3700b6ab%2Fmumei_style.png?alt=media" alt=""><figcaption></figcaption></figure>

Create another layer **above** our target image, and set the blend mode as **"Exclude"**.

<figure><img src="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-4abca9cfdca800c47156b1c17daa255af9a31040%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

Now we get the inverted image.

<figure><img src="https://1287130752-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvVJ0h2a4qMIhB1I8GdV8%2Fuploads%2Fgit-blob-ae759799086d2fa460f3a8c0e31957337b1611cf%2Fmumei_style_black.png?alt=media" alt=""><figcaption></figcaption></figure>
