# Set an extension badge color and text

Use the action `Charles: Set badge text and color` workflow action and give it a short number or text (max 4 characters) and a color (using a hex code):

<div align="left"><figure><img src="https://1746625412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR8XSg57nbIyYLBX9iJLb%2Fuploads%2FdXDWHEMAcF84JYri5113%2Fimage.png?alt=media&#x26;token=71d17e4a-d697-4dbd-9bc3-f4693aedef3a" alt=""><figcaption></figcaption></figure></div>

To remove the badge text and color: run the workflow with empty number / text. Please leave a value for the color, otherwise there might be an error.

<div align="left"><figure><img src="https://1746625412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FR8XSg57nbIyYLBX9iJLb%2Fuploads%2FfYm2scym3XzWOtM6KBYi%2Fimage.png?alt=media&#x26;token=b731634f-4fe6-4bdc-b9ac-6896523e6ebc" alt=""><figcaption></figcaption></figure></div>
