How to Add Colors to Your FiveM Server Name?
🎯 Why Add Colors to Your Server?
A colorful and well-formatted server name allows you to:
- ✅ Stand out in the FiveM server list
- ✅ Attract attention from potential players
- ✅ Improve visibility of your server
- ✅ Create a professional visual identity
- ✅ Increase connection rate by up to 40%
🎨 FiveM Color Codes
FiveM uses a simple color code system with the ^ prefix followed by a number or letter.
Basic Codes (0-9)
^0 = White
^1 = Red
^2 = Green
^3 = Yellow
^4 = Blue
^5 = Cyan (Light Blue)
^6 = Pink/Magenta
^7 = White
^8 = Dark Red
^9 = GrayExtended Codes (letters)
^* = Bright Orange (popular)
^d = Light Pink/Violet
^p = Violet/Purple
^q = Dark Pink
^r = Light GraySpecial Code
^r = Resets to default color (white)🔧 How to Configure Colors
1️⃣ Access the server.cfg File
Connect to your server via:
- FTP (FileZilla, WinSCP)
- Management panel (txAdmin, Pterodactyl)
- Direct access to the server
Locate the server.cfg file at the root of your FiveM server.
2️⃣ Modify the Server Name
Open server.cfg with a text editor and find the line:
sv_hostname "My FiveM Server"3️⃣ Add Color Codes
Add color codes with the ^ symbol:
sv_hostname "^1My ^3FiveM ^2Server"Result:
Myin redFiveMin yellowServerin green
💡 Popular Configuration Examples
Example 1: Classic Roleplay Server
sv_hostname "^*[RP]^r ^1Los ^7Angeles ^3| Whitelist"Effect: [RP] in orange, Los in red, Angeles in white, | Whitelist in yellow
Example 2: Racing Server
sv_hostname "^3⚡ ^1RACING ^7KINGS ^3⚡ ^2| Open 24/7"Effect: Yellow lightning, RACING red, KINGS white, yellow lightning, | Open 24/7 green
Example 3: PvP Server
sv_hostname "^8[^1PvP^8] ^r^*WAR ZONE ^8| ^3Active"Effect: Dark red brackets, PvP red, WAR ZONE orange, Active yellow
Example 4: Zombie Server
sv_hostname "^2☣ ^8ZOMBIE ^9APOCALYPSE ^2☣ ^r| Survival"Effect: Green biohazard symbol, ZOMBIE dark red, APOCALYPSE gray, green symbol
Example 5: Modern Style with Emojis
sv_hostname "^6★ ^*NEON ^5CITY ^6★ ^r^3| Whitelist"Effect: Pink stars, NEON orange, CITY cyan, pink stars
🎨 Tips for an Attractive Name
✅ Best Practices
- Contrast: Alternate between light and dark colors
- Readability: Avoid too many different colors (3-4 max)
- Consistency: Choose a color theme that represents your server
- Symbols: Add emojis for more impact (★ ⚡ ☣ 🔥)
- Spaces: Use
^rto reset before important spaces - Testing: Check the rendering in the F8 FiveM list
❌ What to Avoid
- ❌ Too many colors (makes it unreadable)
- ❌ Colors too light (white on light background)
- ❌ Name too long (will be truncated)
- ❌ Emoji abuse (spam effect)
- ❌ Colors that blend together
🛠️ Testing Your Configuration
Method 1: Server Restart
# Stop the server
stop
# Restart
startMethod 2: Refresh Command (txAdmin)
If you’re using txAdmin, simply use the Restart Server button.
Method 3: Check in Console
# In server console
refresh
# Check configuration
sv_hostname🔍 Visualize the Result
- Open FiveM
- Press F8 to open the server list
- Search for your server in the list
- Check the rendering of colors
📋 Color Reference Table
| Code | Color | Recommended Use |
|---|---|---|
^0 | White | Main text |
^1 | Red | Important keywords |
^2 | Green | Positive status (Online, Open) |
^3 | Yellow | Important information |
^4 | Blue | Links or details |
^5 | Cyan | Modern accents |
^6 | Pink | Feminine/soft accents |
^8 | Dark Red | Warnings |
^9 | Gray | Secondary text |
^* | Orange | Title/Header (very popular) |
🎨 Online Preview Generator
You can test your colors before applying them on sites like:
- FiveM Color Tester (search on Google)
- Test directly by modifying your server.cfg
- Use an editor with preview (some panels offer this)
🚨 Troubleshooting
Colors Don’t Display
- Check syntax: The code is
^(caret) + digit/letter - Restart the server: Changes require a restart
- Check quotes:
sv_hostname "..."with double quotes - File encoding: Save in UTF-8
Strange Characters Displayed
- Make sure you’re using
^and not another symbol - Verify your editor uses UTF-8 encoding
- Avoid complex emojis (some are not supported)
Truncated Name in List
- Limit length: Maximum 60-70 characters recommended
- Color codes also count in the length
- Test with different lengths
💡 Advanced Tips
Using Gradients
sv_hostname "^1R^8A^1I^8N^2B^3O^3W"Creates a rainbow effect by alternating colors
Blinking Effect (simulation)
Use contrasting colors:
sv_hostname "^1[^3!^1] ^*NEW SERVER ^1[^3!^1]"Keyword Highlighting
sv_hostname "^rServer ^3[RECRUITING]^r - Strict Roleplay"Only the word [RECRUITING] is in yellow
📱 Complete Configuration Example
Here’s a complete server.cfg example with an optimized colored name:
# General information
sv_hostname "^6★ ^*LOS ^1SANTOS ^6★ ^r^3| WL ^2OPEN ^r| 200+ Jobs"
sv_projectName "Los Santos RP"
sv_projectDesc "The best RP server"
sv_maxclients 250
# Other settings
sets tags "roleplay, usa, whitelist, economy"
sets banner_detail "https://your-image.com/banner.png"
sets locale "en-US"
# Endpoint
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"✅ Final Checklist
Before saving your modifications:
- Color codes are correct (
^+ digit/letter) - Name remains readable with colors
- Total length doesn’t exceed 70 characters
- Quotes are present:
sv_hostname "..." - File is saved in UTF-8
- You’ve tested the rendering in FiveM list
- Server has been restarted
🎉 Your Server Now Stands Out!
With a colorful and attractive name, you significantly increase your chances of attracting new players. Don’t hesitate to test different combinations to find the one that best represents your server!
👉 Final Tip: Regularly change your colors for special events (Christmas, Halloween, etc.) to maintain player interest.
Reading time: 4 minutes Difficulty: Beginner Impact: Average 40% increase in connection rate


