Check out example codes for "spigot chat color with symbol". It will help you in understanding the concepts better.

Code Example 1

You can use symbol '§' to select ChatColor inside a String.
	For example 
'§bYour §3Castle§b is a safe space'
ChatColor.AQUA+"Your "+ChatColor.DARK_AQUA+"Castle"
      +ChatColor.AQUA+" is a safe space"
	Valid colors:
0: black
2: green
3: dark.aqua
4: red
5: purple
6: gold
7: grey
8: dark.grey
9: blue
b: aqua
d: magenta
e: yellow
f: white
	Valid Modifiers:
k: obfuscated
l: bold
m: strikethrough
n: underlined
o: italic

Learn ReactJs, React Native from