Class ColorUtils

java.lang.Object
de.themoep.utils.ColorUtils

public class ColorUtils extends Object
Utility class for color related operations.
  • Constructor Details

    • ColorUtils

      public ColorUtils()
  • Method Details

    • getNearestChatColor

      public static org.bukkit.ChatColor getNearestChatColor(org.bukkit.Color color)
      Get the nearest Minecraft ChatColor to a normal Color
      Parameters:
      color - The color value
      Returns:
      The nearest Minecraft ChatColor