> For the complete documentation index, see [llms.txt](https://docs.devhub.gg/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devhub.gg/id-card-and-license/ui-color-customization.md).

# UI Color Customization

## <mark style="color:yellow;">Usage</mark>

{% stepper %}
{% step %}

### Enter the folder with the script

{% endstep %}

{% step %}

### Enter `html` folder

{% endstep %}

{% step %}

### Open the `colors.css` file

{% endstep %}
{% endstepper %}

#### The code looks like this

```css
:root {
    /* custom colors */

    /* YOU CAN'T USE A COMMA BETWEEN RGB */
    --primary: 253 209 64; /* #fdd140 */

    /*!!! YOU MUST USE A COMMA BETWEEN RGB !!!*/
    --primary-rgba: 253, 209, 64; /* #fdd140 */
    --grid-dark-rgba: 11, 19, 32; /* #0b1320 */
}
```

#### To customize the UI for yourself, simply edit the RGB color.

{% hint style="danger" %}
The primary color is defined in **two** places — `--primary` (space-separated, no commas) and `--primary-rgba` (comma-separated). If you change the primary color, update **both** so it stays consistent across the UI.
{% endhint %}

{% hint style="info" %}
The file also ships the full Tailwind color palette (slate, gray, red, blue, etc.) as reference variables. Not all of them are used — the comment block marks where the actively used colors end. You normally only need to edit `--primary`, `--primary-rgba`, and `--grid-dark-rgba`.
{% 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:

```
GET https://docs.devhub.gg/id-card-and-license/ui-color-customization.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.
