Hex Colors & Gradients in RankForge – Formats & Examples
RankForge processes custom colors natively without requiring external formatting libraries. You can use these formats across tier displays, titles, message files (languages/*.yml), and gui.yml.
Supported Formats
Section titled “Supported Formats”| Format | Syntax | Result |
|---|---|---|
| Gradient | <#FF0000>Text</#0000FF> |
Smooth character-by-character color transition |
| Single Hex Tag | <#00FFFF>Text |
Solid RGB hex color |
Hex &# Tag |
&#FFAA00Text |
Solid RGB hex color |
| Legacy Codes | &a, &c, &l, etc. |
Classic Minecraft color & formatting codes |
Examples
Section titled “Examples”display: "<#38BDF8>&l✦ HT1 ✦</#818CF8>"The string ✦ HT1 ✦ will render in bold with a smooth gradient from cyan to indigo.
Parsing Order
Section titled “Parsing Order”RankForge processes colors in strict sequence: gradient → &#RRGGBB → single <#RRGGBB> → legacy & codes. Keep in mind:
- Gradients must always be closed as pairs:
<#start>text</#end>. - Formatting codes like
&l(bold) can be placed inside the gradient tags. - Hex codes must be 6 digits (
#RGB3-digit shorthand is not supported).
