> For the complete documentation index, see [llms.txt](https://docs.pixquare.art/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pixquare.art/palette/shading.md).

# Shading

<figure><img src="/files/TuzNudzYgIAVUlfBbusG" alt="" width="203"><figcaption></figcaption></figure>

In the palette panel, tap the ... button, then "Shading"

### What is shading?

The main component of shading is a color ramp from the palette.&#x20;

What shading does is replacing pixels that have colors in the ramp with adjacent colors. The new colors will be determined by the direction (forward or backward).

Pixels with colors not in the ramp will be ignored.

### How to use shading

{% embed url="<https://youtu.be/0yOkgiXIj7o>" %}

To select the color ramp, we'll need to select the 2 ends of it from the palette. If we want to replace the ramp, clear it first with the Clear button.

To flip the direction, tap on any color of the ramp.

Tap on the Enabled/Disabled button to toggle shading on/off.

When enabled, shading will affect all drawing tools: brush, line, shape, color bucket.
