They are the same code, only the character changes. The & is the easiest to type and is accepted by many plugins and config files; the § (section sign) is the character Minecraft uses internally and that you paste into places like server.properties. The tool generates both at once, so you just copy whichever your destination accepts.