> For the complete documentation index, see [llms.txt](https://gstudios.gitbook.io/gslibrary/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gstudios.gitbook.io/gslibrary/color-api/colors-in-configurations.md).

# Colors in configurations

Our colorize util is really interesting and have lot of cool features.

### :rainbow: Hex colors

You can use lot of hex color formatting types.\
Solid color, Geradient and Rainbow\..

{% hint style="info" %}
Hex colors work's only on the version 1.16+
{% endhint %}

{% tabs %}
{% tab title="Solid color" %}
Just a solid color like (\&atext) but in hex.\
Format: <mark style="color:blue;">`<#hex> text`</mark>

e.g.:

{% code lineNumbers="true" %}

```yaml
message: '<#29bbcf>HELLO WORLD!'
```

{% endcode %}
{% endtab %}

{% tab title="Second Tab" %}
Quite complex thing that take 2 colors and create a smooth gradient for your text, that you want to colorize.\
Format: <mark style="color:blue;">`<G:hex>your text here!</G:hex>`</mark>

{% hint style="danger" %}
Hex without #
{% endhint %}

e.g.:

{% code lineNumbers="true" %}

```yaml
message: '<G:29bbcf>HELLO WORLD!</G:2475d1>'
```

{% endcode %}
{% endtab %}

{% tab title="Rainbow" %}
If you want to make some experiments, you can try rainbow feature, that transform your text into the rainbow.\
Format: <mark style="color:blue;">`<RAINBOW(number)>your text here!</RAINBOW>`</mark>

e.g.:

{% code lineNumbers="true" %}

```yaml
message: '<RAINBOW1>THIS IS A REALLY COOL Rainbow</RAINBOW>'
```

{% endcode %}

![](https://4132704493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd8nCQMPdPy7uiPgCET2S%2Fuploads%2FXhw0MRJ0yCKLGrVfxAQ7%2Fobrazek.png?alt=media\&token=2b72f33e-7133-4122-9a3b-f24e65de0501)

{% code lineNumbers="true" %}

```yaml
message: '<RAINBOW100>THIS IS A REALLY COOL Rainbow</RAINBOW>'
```

{% endcode %}

![](https://4132704493-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fd8nCQMPdPy7uiPgCET2S%2Fuploads%2FovUxSygi2kUd4qVkaB64%2Fobrazek.png?alt=media\&token=c8f3c552-bf04-4b7b-9efb-1fcf769edeaa)
{% endtab %}
{% endtabs %}

### :mailbox\_with\_mail: Centered message

If you want to move a message to the center of the chat block, you can use this feature.\
Only one thing, that you have to do is this:

```yaml
message: '<center>CENTERED TEXT'
```
