> For the complete documentation index, see [llms.txt](https://wiki.apexcobblemon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.apexcobblemon.com/info/technical-guides/color-codes.md).

# Color Codes

Color Codes allow you to customize text in supported commands and menus across the server. They can be used to add colors, styling, and line breaks to text such as [Player Warp broadcasts](https://wiki.apexcobblemon.com/features/player/player-warps.md#broadcast), [furniture dyes](https://wiki.apexcobblemon.com/features/player/cosmetics.md#furniture), [ChestShop holograms](https://wiki.apexcobblemon.com/features/trading/chestshops.md#hologram), and more.

Color Codes use tag-style formatting. Place a tag before the text you want to format, and the formatting will apply to the following text.

```html
<yellow>Hello <blue>World</blue>!
```

{% hint style="info" %}
Color Codes are only available in fields that support formatted text. Some commands or menus may limit which tags can be used.
{% endhint %}

<table><thead><tr><th width="139.8887939453125" align="center">Feature</th><th width="140.22216796875" align="center">Format</th><th align="center">Description</th></tr></thead><tbody><tr><td align="center">Color</td><td align="center"><code>&#x3C;color></code></td><td align="center">Changes the color of the following text</td></tr><tr><td align="center">Hex Color</td><td align="center"><code>&#x3C;#RRGGBB></code></td><td align="center">Uses a custom RGB hex color</td></tr><tr><td align="center">Styling</td><td align="center"><code>&#x3C;bold></code>, <code>&#x3C;italic></code>, etc.</td><td align="center">Adds text styling such as bold, italic, or underline</td></tr><tr><td align="center">Newline</td><td align="center"><code>&#x3C;newline></code></td><td align="center">Inserts a line break where supported</td></tr></tbody></table>

## Named Colors

Named colors include both Minecraft’s standard color names and a variety of custom color names. Add the color tag before the text you want to recolor.

```html
<yellow>Hello!
<red>Sale Today!
<blue>Visit my warp!
```

<table data-search="false"><thead><tr><th align="center">Vanilla Colors</th><th align="center">Custom Colors</th></tr></thead><tbody><tr><td align="center"><code>&#x3C;black></code></td><td align="center"><code>&#x3C;fire></code></td></tr><tr><td align="center"><code>&#x3C;dark_blue></code></td><td align="center"><code>&#x3C;crimson></code></td></tr><tr><td align="center"><code>&#x3C;dark_green></code></td><td align="center"><code>&#x3C;rust></code></td></tr><tr><td align="center"><code>&#x3C;dark_aqua></code></td><td align="center"><code>&#x3C;tangerine></code></td></tr><tr><td align="center"><code>&#x3C;dark_red></code></td><td align="center"><code>&#x3C;dandelion></code></td></tr><tr><td align="center"><code>&#x3C;dark_purple></code></td><td align="center"><code>&#x3C;lime></code></td></tr><tr><td align="center"><code>&#x3C;gold></code></td><td align="center"><code>&#x3C;leaf></code></td></tr><tr><td align="center"><code>&#x3C;gray></code></td><td align="center"><code>&#x3C;olive></code></td></tr><tr><td align="center"><code>&#x3C;dark_gray></code></td><td align="center"><code>&#x3C;mint></code></td></tr><tr><td align="center"><code>&#x3C;blue></code></td><td align="center"><code>&#x3C;ice></code></td></tr><tr><td align="center"><code>&#x3C;green></code></td><td align="center"><code>&#x3C;sky></code></td></tr><tr><td align="center"><code>&#x3C;aqua></code></td><td align="center"><code>&#x3C;baby_blue></code></td></tr><tr><td align="center"><code>&#x3C;red></code></td><td align="center"><code>&#x3C;midnight></code></td></tr><tr><td align="center"><code>&#x3C;light_purple></code></td><td align="center"><code>&#x3C;indigo></code></td></tr><tr><td align="center"><code>&#x3C;yellow></code></td><td align="center"><code>&#x3C;royal_purple></code></td></tr><tr><td align="center"><code>&#x3C;white></code></td><td align="center"><code>&#x3C;violet></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;lavender></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;lilac></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;fuchsia></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;blush></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;beige></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;amaranth></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;brown></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;eggshell></code></td></tr><tr><td align="center"></td><td align="center"><code>&#x3C;smoke></code></td></tr></tbody></table>

## Hex Colors

Hex colors allow you to use a custom RGB color instead of one of the predefined colors. Hex colors must use the format:

```html
<#RRGGBB>
```

For example:

```html
<#00ff00>Bright green text!
<#ff66cc>Pink text!
<green><#ffaa00>Orange text!</#ffaa00> Back to green now
```

{% hint style="info" %}
Use a hex color picker website such as [color-hex.com](https://www.color-hex.com/) to find an exact `#RRGGBB` code
{% endhint %}

## Styles

Styles change the decoration of text without changing its color.

```html
<bold><gold>Important!</gold></bold>
<underlined><aqua>Click Here</aqua></underlined>
```

|   Decoration  |        Tag        |  Alias |
| :-----------: | :---------------: | :----: |
|      Bold     |      `<bold>`     |  `<b>` |
|     Italic    |     `<italic>`    |  `<i>` |
|   Underlined  |   `<underlined>`  |  `<u>` |
| Strikethrough | `<strikethrough>` | `<st>` |

## New Lines

The `<newline>` and `<br>` tags insert a line break in supported text fields.

```html
Line one<br>Line two
```

## Examples

<table><thead><tr><th width="199.5555419921875" align="center">Goal</th><th align="center">Example</th></tr></thead><tbody><tr><td align="center">Simple colored message</td><td align="center"><code>&#x3C;yellow>Welcome to my warp!</code></td></tr><tr><td align="center">Multiple colors</td><td align="center"><code>&#x3C;gold>New items &#x3C;green>restocked&#x3C;/green> today!</code></td></tr><tr><td align="center">Custom hex color</td><td align="center"><code>&#x3C;#00ff00>Fresh stock available!</code></td></tr><tr><td align="center">Bold warning</td><td align="center"><code>&#x3C;b>&#x3C;red>Limited Time!&#x3C;/red>&#x3C;/b></code></td></tr><tr><td align="center">Underlined highlight</td><td align="center"><code>&#x3C;u>&#x3C;aqua>Click to visit&#x3C;/aqua>&#x3C;/u></code></td></tr><tr><td align="center">Multi-line text</td><td align="center"><code>&#x3C;yellow>Shop Open&#x3C;br>&#x3C;gray>Restocked daily!</code></td></tr></tbody></table>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.apexcobblemon.com/info/technical-guides/color-codes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
