> For the complete documentation index, see [llms.txt](https://servertools.reece.sh/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://servertools.reece.sh/configurations/how-to/hex-chat-color.md).

# Hex Chat Color

Firstly, you should create your desired hex layout here: <https://rgbmynick.co.za/>

Ensure you use type "nickname" when creating, and NOT luckperms. This type will work in luckperms for ranks if you use ServerTools chat formatting in the config.yml

After you create some text like **\&#2c32c8O\&#356596w\&#3e9764n\&#47ca32e\&#51fd00r** for a cool Owner role, open luckperms editor & add it in like any other

![luckperms example rank prefix with brackets, name in white (\&f)](/files/gFinKNphX4VzqEYDVMaL)

Hex codes work both as \&# and #.\
(ex: \&f, \&#FFFFFF, and #FFFFFF all will result in white)\
\
If you need to use BOLD lettering, follow the hex code with \&l like so:\
\&#2c32c8\&lO\&#356596\&lw\&#3e9764\&ln\&#47ca32\&le\&#51fd00\&lr\
\
The above website will automatically do this for you if desired


---

# 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://servertools.reece.sh/configurations/how-to/hex-chat-color.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.
