> For the complete documentation index, see [llms.txt](https://arivia.rlib.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://arivia.rlib.io/faq/custom-category-colors.md).

# Custom Category Colors

By default; categories use the color that is assigned to each tab; these mean jobs, entities, weapons, ammo, vehicles, shipments, and food.

To assign custom colors, open **`lua\modules\arivia\cfg\sh_4_tabs.lua`** and set **`bCatColors = true`** for each tab you want custom cat colors enabled for.

You can then edit your darkrp category code to include the new custom category color:

{% tabs %}
{% tab title="jobrelated.lua" %}

```lua
DarkRP.createCategory
{
    name            = 'Civil Protection',
    categorises     = 'jobs',
    startExpanded   = true,
    color           = Color( 255, 25, 25, 255 ),
    canSee          = fp{ fn.Id, true },
    sortOrder       = 101,
    tip             = 'Law enforcement positions',
}
```

{% endtab %}
{% endtabs %}
