Minecraft wiki entry for Formatting_codes, associated text: Text can be formatted using the section sign (§) followed by a character. A § symbol followed by a hex digit in the message tells the client to switch colors while displaying text. In Bedrock Edition, the § symbol can be used in any text input, while in Java Edition, it may be used in server.properties, pack.mcmeta, world titles, and server names.