# Color

> Adjust brightness, contrast, saturation, hue, gamma and warmth, or invert the picture.

Source: https://docs.tune.toys/nodes/video.color/

Color adjusts brightness, contrast, saturation, hue, gamma and warmth, or inverts the picture.

## What it does

Each control changes one aspect of the picture and the defaults change nothing. It processes every stream of the input at that stream's size and keeps the stream count.

## When to use it

Use it to match sources, stylise a camera, or build a photobooth with [Pixelate](https://docs.tune.toys/nodes/video.pixelate/).

## Ports

<!-- ports:start -->

| Port    | Direction | Signal | Lanes                   |
| ------- | --------- | ------ | ----------------------- |
| `video` | Input     | Video  | Inferred from the cable |
| `video` | Output    | Video  | Inferred from the cable |

<!-- ports:end -->

## Parameters

<!-- parameters:start -->

| Parameter     | Label      | Range       | Default | Unit | Scale  | Notes                                               |
| ------------- | ---------- | ----------- | ------- | ---- | ------ | --------------------------------------------------- |
| `brightness`  | Brightness | -1 to 1     | 0       |      | linear | Offset added to every channel.                      |
| `contrast`    | Contrast   | 0 to 3      | 1       |      | linear | Scale around mid grey.                              |
| `saturation`  | Saturation | 0 to 3      | 1       |      | linear | 0 is monochrome, 1 unchanged.                       |
| `hue`         | Hue        | -180 to 180 | 0       | °    | linear | Hue rotation in degrees.                            |
| `gamma`       | Gamma      | 0.2 to 5    | 1       |      | log    | Gamma curve applied to each channel.                |
| `temperature` | Warmth     | -1 to 1     | 0       |      | linear | Shift towards orange (positive) or blue (negative). |
| `invert`      | Invert     | 0 to 1      | 0       |      | linear | Invert the colours. Choices: 0 Normal, 1 Inverted.  |

<!-- parameters:end -->

### Brightness (`brightness`)

Adds or removes light, from -1 to 1.

### Contrast (`contrast`)

Spreads or squeezes tones around grey; 1 is unchanged.

### Saturation (`saturation`)

Colour strength; 0 is greyscale and 1 is unchanged.

### Hue (`hue`)

Rotates all colours around the colour wheel, in degrees.

### Gamma (`gamma`)

Bends the midtones; below 1 brightens and above 1 darkens. Logarithmic.

### Warmth (`temperature`)

Shifts the picture cooler (negative) or warmer (positive).

### Invert (`invert`)

Turns every colour into its opposite when on.

## Tips

- Chain it before [Chroma key](https://docs.tune.toys/nodes/video.chroma-key/) to help a difficult key.
- Video needs the browser's WebGPU video engine. The Player and exports do not run video yet and report it unavailable. To see a video output, bind a live Screen in the Frame to it.

## See also

[Pixelate](https://docs.tune.toys/nodes/video.pixelate/), [Blur](https://docs.tune.toys/nodes/video.blur/), [Chroma key](https://docs.tune.toys/nodes/video.chroma-key/), [Video](https://docs.tune.toys/concepts/video/), [Control lanes](https://docs.tune.toys/concepts/control-lanes/).
