Design your server's message of the day with colours and formatting, then copy the ready-to-use line for server.properties.
server.properties file, replacing the existing motd= line.Tip: A colour code resets any bold/italic formatting before it, so apply formatting codes after your colour code. The &k obfuscated style shows as scrambling characters in-game.