Color Codes Reference
HyperPerms supports Minecraft-style color codes for formatting prefixes, suffixes, and chat messages. Use these codes to add color and style to your ranks.
Color Codes
Color codes use the & symbol followed by a character. These work in prefixes, suffixes, and chat formatting.
| Code | Color | Example |
|---|---|---|
| &0 | Black | Black |
| &1 | Dark Blue | Dark Blue |
| &2 | Dark Green | Dark Green |
| &3 | Dark Aqua | Dark Aqua |
| &4 | Dark Red | Dark Red |
| &5 | Dark Purple | Dark Purple |
| &6 | Gold | Gold |
| &7 | Gray | Gray |
| &8 | Dark Gray | Dark Gray |
| &9 | Blue | Blue |
| &a | Green | Green |
| &b | Aqua | Aqua |
| &c | Red | Red |
| &d | Light Purple | Light Purple |
| &e | Yellow | Yellow |
| &f | White | White |
Formatting Codes
In addition to colors, you can apply text formatting styles:
| Code | Style | Example |
|---|---|---|
| &k | Obfuscated (Magic) | Random characters |
| &l | Bold | Bold Text |
| &m | Strikethrough | Strikethrough |
| &n | Underline | Underlined |
| &o | Italic | Italic Text |
| &r | Reset | Resets all formatting |
Usage Examples
Simple Prefix
text
# Red Admin prefix
&c[Admin]
# Gold VIP prefix
&6[VIP]
# Green Member prefix
&a[Member]Multi-Color Prefix
text
# Rainbow effect
&c[&6R&ea&an&bk&9]
# Gradient style
&4[&cOwner&4]
# With formatting
&c&l[ADMIN]Prefix with Name Coloring
text
# Prefix that colors the player name
&c[Admin] &c
# The trailing &c will color the player's name red
# Result: [Admin] Steve (all in red)End your prefix with a color code to color the player's name. For example,
&c[Admin] &c will make both the prefix and name red.Combining Colors and Formatting
You can combine colors with formatting codes. Apply formatting after the color:
text
# Bold red text
&c&lBold Red
# Underlined gold text
&6&nUnderlined Gold
# Bold italic green text
&a&l&oFancy GreenThe
&r (reset) code clears all formatting. Use it to prevent formatting from bleeding into the player name or message.Hex Colors
HyperPerms also supports hex color codes for more precise colors:
text
# Hex color format
&#RRGGBB
# Examples
&#FF5733[Custom Orange]
	B59B6[Custom Purple]
ඪDB[Custom Blue]Chat Format Example
Here's an example chat format configuration:
json
{
"chat": {
"format": "%prefix%&f%player%%suffix%&8: &7%message%"
}
}This format results in:
- Prefix with its own colors
- Player name in white (
&f) - Suffix with its own colors
- Colon in dark gray (
&8) - Message in gray (
&7)
Common Prefix Patterns
text
# Staff Ranks
&4[Owner] &4 # Dark red
&c[Admin] &c # Red
&6[Mod] &6 # Gold
&e[Helper] &e # Yellow
# Donor Ranks
&d[MVP+] &d # Light purple
&b[MVP] &b # Aqua
&a[VIP+] &a # Green
&2[VIP] &2 # Dark green
# Default
&7[Member] &7 # GraySee Also
- Groups - Setting group prefixes and suffixes
- Configuration - Chat format settings
- Placeholders - Available chat placeholders
Have questions about color codes or found an issue?
Send us feedback →