> For the complete documentation index, see [llms.txt](https://help.ecombe.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.ecombe.com/pages-and-section-creations/general/global-theme-styles/how-to-use-colors-in-global-styles.md).

# How to use Colors in Global styles

In this article we will guide you to setup Color in Global styles to have a consistent style in all pages.

## How to use Colors

By default, Color will have 3 Schemes and 1 option set for Other colors. You can click **Add Scheme** to create your own Scheme.

<figure><img src="/files/bpMKBcRP8O3BRHTizJFZ" alt=""><figcaption></figcaption></figure>

## What's in a Scheme

<figure><img src="/files/bJC9oUtSetBf8sx91Mgw" alt=""><figcaption></figcaption></figure>

#### 1. Section colors

The basic colors of a section include: Background, Heading text and Body text.

#### **2. Button colors**

Button color has two states:

**Normal:**

* **Background**: the button’s background color.
* **Label**: the text color.
* **Outline**: the outline color of the button.

**Hover:**

* **Background tone:** add a color layer on top of the button background.&#x20;
* **Label:** add a color layer on top of the text.
* **Outline:** add a color layer on top of the outline.

<figure><img src="/files/60nnqKHZZ8swQqyD0qeO" alt=""><figcaption></figcaption></figure>

Dragging the slider to the left applies a white tone layer, while dragging to the right applies a black tone layer.\
The further you move the slider toward either side, the less transparent the tone layer becomes.

## How to change color in Scheme?

You can change a color by clicking the **color box** and using the **color picke**r, or by entering a **Hex code** directly.

<figure><img src="/files/HbZswdrVor2l6OiCB8ar" alt=""><figcaption></figcaption></figure>

We hope this article helps you understand how to use Color in Global styles to set consistent colors for your theme.

{% hint style="info" %}
Have a question?

Contact us via **in-app live chat**. We'll reply in few minutes.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.ecombe.com/pages-and-section-creations/general/global-theme-styles/how-to-use-colors-in-global-styles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
