> For the complete documentation index, see [llms.txt](https://interopxyz.gitbook.io/color-plus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://interopxyz.gitbook.io/color-plus/components/color-theory/invert-color.md).

# Invert Color

Takes a color and subtracts each channel from 255 returning the inverted color.

## Description

Takes a color and subtracts each channel from 255 returning the inverted color.

{% tabs %}
{% tab title="Preview" %}
![](https://3998772548-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8UMWfS21dL8V5gHso8pd%2Fuploads%2FLrGUBBZK5iECTzEvTev2%2FInvert.png?alt=media\&token=44d533e6-7ce8-4c10-ab62-40d591cec86a)
{% endtab %}

{% tab title="Location" %}
**Name** | Invert Color

**Nickname** | Invert

**Tab** | Display

**Panel** | Colour

**Division** | 5
{% endtab %}

{% tab title="Inputs" %}
**C** | **Color** (*Colour*) | Input Color
{% endtab %}

{% tab title="Ouputs" %}
**C** | **Color** (*Colour*) | Resulting color
{% endtab %}

{% tab title="Mode" %}
*none*
{% endtab %}
{% endtabs %}

## Usage

The inverted color is just the mathematical inverse of the RGB values.&#x20;

This is different than a [complementary color](https://en.wikipedia.org/wiki/Complementary_colors). [(See Color Sets Components)](/color-plus/components/color-theory/color-sets.md)

![](https://3998772548-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8UMWfS21dL8V5gHso8pd%2Fuploads%2FKk4sR1OYGehLiCdHKIlV%2Fimage.png?alt=media\&token=664ae07e-e517-46f8-858b-6defca05447b)
