# Stained Glass

Commands related to using stained glass for color.

### `//ezstainedglassgradient`

<details>

<summary>Glass Gradient</summary>

**`//ezstainedglassgradient <startColor> [endColor] <layers> [length] [quality] [direction] [-c <backgroundColor>] [-bs]`**

**`Aliases: //stainedglassgradient, //glassgradient`**

* **StartColor**: Specifies the starting color (as a Hex code) for the gradient.
* **EndColor** (Default: None): Specifies the end color (as a Hex code) for the gradient. If no value is provided, then the start color will be used for the whole gradient.
* **Layers**: How many layers of glass to use in creating the gradient.
* **Length** (Default: 1): How many blocks long should the gradient be.
* **Quality** (Default: 6): How accurate should the gradient be. A higher value may take longer to run.
* **-c** (Default: #000000): Specifies the background colour (as a Hex code) that the gradient is on if **-b** flag is not used.
* **-b**: Finds the closest solid block to place behind the glass to increase color accuracy. This is much more resource intensive.
* **-s**: Skip duplicate layer combinations.

</details>


---

# 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://ezedits.gitbook.io/ezedits/commands/stained-glass.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.
