how to get current chat color spigot code example

Example: spigot chat color with symbol

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

Tags:

Java Example