# Colour settings and HSB

Colour within Liberation is defined as HSB rather than RGB. This may be unfamiliar to you but I find it to be a much more intuitive system once you get used to it.

{% hint style="info" %}
If you prefer using RGB you can click on the colour square in any colour setting. This opens the colour editor panel which gives you options for RGB and HSB.
{% endhint %}

### HSB - Hue, Saturation and Brightness

#### Hue

The colour hue ranges between 0 and 255. 0 is red, and as you increase the value you'll pass through every hue in the rainbow, orange, yellow, green, cyan, blue, purple, magenta and then back to red at 255.

As this is a loop you can use a triangle wave to cycle through every colour.

#### Saturation

This setting adjusts the saturation or vividness of your colour. In other words, how *colourful* it is and ranges from 0 to 255. Set your saturation to 0 for greys, and 255 for full rainbow colours. Somewhere in the middle will give you pastel washed-out colours.

{% hint style="info" %}
Apologies to my US friends for the additional vowel in the word colour. Liberation is made in England so British English is the default. In the future I hope to provide translations to French, Spanish, German, Italian, Simplified Chinese, and yes, even US English. :innocent:
{% endhint %}

#### Brightness

Probably the simplest to understand, 0 is completely black, 255 is full brightness.

### Example usage

#### Rainbow cycle :

Set *Brightness* and *Saturation* to 255. Connect a *Sawtooth* oscillator to your *Hue* socket, and adjust its range from 0 to 255.

#### Pulsing brightness :

Connect a *Sawtooth* oscillator to your *Brightness* socket, and adjust its range from 255 to 0. You can further adjust the clamp min and max to check the duration of the change. And then use the easing functions to further refine the animation.

#### Hard flash / strobe :

Select a colour using the *Hue* and *Saturation* or by clicking on the colour picker. Connect a *Square Wave* oscillator your *Brightness* socket, adjust its range from 255 to 0.

#### Cycle across custom range of hues :

Set *Brightness* and *Saturation* to 255. Connect a *Triangle Wave* oscillator to your *Hue* socket, and adjust its range :

* for blue to cyan use a range of 70 to 128
* for red to yellow use a range of 0 to 40
* for red to magenta use a range of 255 to 220
