# Gradients

Nebula gradients are a way to create custom gradient colors (a color going from one to another).

## File location

The file `gradients.yml` is located in the `/plugins/Nebula/` folder.

## Create a gradient

To create a gradient, put a name as root (this will be the gradient name).

This gradient has to have 6 parameters :

* **from.r** : The beginning color in the **red** channel
* **from.g** : The beginning color in the **green** channel
* **from.b** : The beginning color in the **blue** channel
* **to.r** : The beginning color in the **red** channel
* **to.g** : The beginning color in the **green** channel
* **to.b** : The beginning color in the **blue** channel

## Use a gradient

Gradients can now be used to rename an item, in items descriptions, names etc..

To put the gradient color, use the tag **\&g{\<gradient\_name>}** before the text you want to color.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://alex-plugins.gitbook.io/nebula/gradients.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
