Use Valheim color codes to colour your dedicated server name: wrap the name in a <color=#HEX> tag in Start.bat, and players see it in that colour in the server list.
The colour tag uses a HEX colour code, a # followed by six characters. You can colour the whole name or just part of it.
Add Valheim color codes to your server name
- Stop your server: press STOP in the game panel.
- Edit the
Start.batfile inside the Configuration Files button. - Under the server name, add the following code:
<color=#FFFFFF>My Server</color> - Save the file and press START.
This code makes the name My Server white. The #FFFFFF in it is the HEX number of the colour white. Replace My Server with your own server name and #FFFFFF with the colour you want.
Valheim HEX colour codes
You can view the HEX codes of all colours on this website: HEX Color Codes. A few common ones:
#FFFFFF- white#FF0000- red#00FF00- green#0000FF- blue#FFFF00- yellow#FFA500- orange
Want two colours? Use one tag per part, for example <color=#FF0000>My</color> <color=#FFFF00>Server</color>. Always close each tag with </color>.
Valheim colour questions
How do I use Valheim color codes in my server name?
Stop the server, open Start.bat in Configuration Files and wrap the server name in a colour tag, for example <color=#FFFFFF>My Server</color>. Save and start the server. The HEX code after the # sets the colour.
Where do I find HEX colour codes?
Any HEX colour picker works, for example htmlcolorcodes.com. Copy the six-character code with its #, such as #FF0000 for red.
My server name shows the tag as text. Why?
Check the tag is typed exactly: <color=#HEX> before the name and </color> after it, with no spaces inside the tags and a full six-character HEX code.
Want your own Valheim server? See Valheim server hosting.
Related guides
If you have any questions or need our help, open a support ticket. Our support team is available 24/7.
