> 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
