> For the complete documentation index, see [llms.txt](https://docs.styleai.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.styleai.io/product-docs/product-docs-en/readme-2/how-do-i-erase-the-purple-area.md).

# How do I erase the purple area?

This is a required prompt guide to prevent purple residue from remaining in the result when using the brush tool.

#### 1. Cause: AI may mistake purple for a 'design'

A brush is a Post-it-like tool that marks the area to be edited. But sometimes the AI misunderstands this mark as not a guide to be erased, but as a unique color or design from the original image, and leaves it in the result.

<figure><img src="https://3534440524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2iY6iG5clN00jUUjwgJ%2Fuploads%2FJ4k7jqmgbESXFmX1PqJE%2Fimage.png?alt=media&amp;token=97b9a0d2-6dcb-44a9-9820-1a4e22a5be19" alt=""><figcaption></figcaption></figure>

#### 2. Solution: StyleAI is already removing it automatically!

<figure><img src="https://3534440524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fh2iY6iG5clN00jUUjwgJ%2Fuploads%2FSfo2qwCZSnYNGtCnb1DS%2Fimage.png?alt=media&amp;token=0ac07705-3f3a-470b-8361-fd4c3d558948" alt=""><figcaption></figcaption></figure>

To reduce the hassle for users, StyleAI has automatically added the command 'remove the purple area' after every brush operation. Thanks to this, a clean result without purple is generated with about 88% probability (7 out of 8 images).

#### 3. What if purple is still left? (in 12.5% of cases)

To reduce the hassle for users, StyleAI has automatically added the command 'remove the purple area' after every brush operation. Thanks to this, a clean result without purple is generated with about 88% probability (7 out of 8 images).

In that case, try the tips below!

* Paint a wider brush area: If you paint a little more generously than the area to be corrected, the boundaries disappear and the purple is removed much better.
* Regenerate: Even with the same conditions, generating once more increases the chance that the AI will produce a clean result with the purple removed.
