# Set color

## 💠Set color

The Set Color tool allows for the creation of precise and customized lighting effects. You can select the drones you want to modify and apply specific parameters. It's also possible to change interpolation types or replace an existing color.

{% embed url="https://youtu.be/yPmSsjNJkSQ" %}

#### **Available parameters:**

* **`Color:`** choose the color to apply.
* **`Duration:`** transition duration to the selected color.
* **`Interpolation:`** type of transition between colors (Constant, Linear, or Bézier).
* **`Swap Color:`** replaces an existing color with a new one.
* **`Brightness:`** adjusts the brightness of the lights over a defined period.
* **`Remove White:`** disables the alpha (corresponding to the drone’s white LED) over a defined period.

{% hint style="info" %}
The white LED is linked to the A parameter.
{% endhint %}

{% hint style="warning" %}
**If a black color is applied (meaning the drone should be off) but the alpha remains active, the drone will still appear lit in white.**
{% endhint %}

***

### 🔹Pick the color of a drone

{% embed url="https://www.youtube.com/watch?v=V_tvKUgo3ic" %}

With the eyedropper next to `Color` and `New color`, you can pick the color of a drone color keyframe.

You must select one drone only, go to a frame where there is a color keyframe, then click on the eyedropper `Pick color`.

***

### 🔹Duration

* `Duration` is the duration of the color transition.
* If `Duration` is equal to 0, a single color keyframe with constant interpolation will be added.
* If `Duration` is superior to 0, two color keyframes will be added with the `Interpolation` chosen.

{% embed url="https://www.youtube.com/watch?v=eovlwhScqTc" %}

### 🔹Interpolation

{% embed url="https://youtu.be/h6SYHuaVtww" %}

* `Constant`, switch instantly from one color to the other at the end of `Duration`.
* `Linear`, switch linearly from one color to the other according to the `Duration`.
* `Bezier`, switch from one color to the other more smoothly than with `Linear`.

`Change interpolation` change the current color interpolation to the `Interpolation` chosen for the selected drones.

***

### 🔹Swap color

{% embed url="https://www.youtube.com/watch?v=SYw45G7TLZo" %}

`Swap color` replace all the color keyframes of the color `Color` by the color `New color`.

`Swap color` is only applied on the selected drones and on the color keyframes in the scene range (between `Start` and `End`).

***

### 🔹Brightness

{% embed url="https://www.youtube.com/watch?v=mV6K8TX1jWg" %}

Set **brightness** of leds from 0 to 100%.

Brightness is previously initialized with **set color**.

### 🔹Remove white

{% embed url="https://www.youtube.com/watch?feature=youtu.be&v=wK_0eu1tXPY" %}

`Remove white` is used to remove the white LEDs on the selected drones on the color keyframes in the scene range.

This is mainly used when white LEDs have been added accidentally.
