Write your text, select parts of it to style, then copy the commands below.
#FFFFFF. Obfuscated text flickers like in Minecraft whenever the editor is not focused. Note: Line breaks are not supported in Minecraft item names/signs and are automatically removed.