Copy-Paste this into your project!
- Using reflections, so it should support every version above (1.7/1.8)
NOTE: If you use Gradient/HEX under 1.16, text won't be colorized!
ColorUtils.colorize("&aLegacy text")Examples:
ColorUtils.colorize("<#FF6600>Gradient colorized text</#9DFF8A>")Examples:
ColorUtils.colorize("<&a>Gradient with legacy codes!</&c>")Examples:
ColorUtils.colorize("<#FF6600>&lBold text &nUnderlined Text</#9DFF8A>")Examples:
(Create color exception, and continue in gradient)
ColorUtils.colorize("<#FF6600>Colorized text &cEXCEPTION &rcontinue in gradient!</#9DFF8A>")Examples:
# Insert here already colorized text!
ColorUtils.removeColors("§aRemove my colors!")# Insert here already colorized text!
ColorUtils.charactersWithoutColors("§aCharacters without colors")
# Output:
# [C, h, a, r, a, c, t, e, r, s, , w, i, t, h, o, u, t, , c, o, l, o, r, s]# Insert here already colorized text!
ColorUtils.charactersWithColors("§aCharacters without colors")
# Output:
# [§aC, §ah, §aa, §ar, §aa, §ac, §at, §ae, §ar, §as, §a , §aw, §ai, §at, §ah, §ao, §au, §at, §a , §ac, §ao, §al, §ao, §ar, §as]





