Red color amount.
Green color amount.
Blue color amount.
Returns a new MinecraftColor with the given RGB values.
Static
Readonly
colorObject map containing the Minecraft color codes and their corresponding names.
Readonly
0: "black"Readonly
1: "dark_blue"Readonly
2: "dark_green"Readonly
3: "dark_aqua"Readonly
4: "dark_red"Readonly
5: "dark_purple"Readonly
6: "gold"Readonly
7: "gray"Readonly
8: "dark_gray"Readonly
9: "blue"Readonly
a: "green"Readonly
b: "aqua"Readonly
c: "red"Readonly
d: "light_purple"Readonly
e: "yellow"Readonly
f: "white"Static
Readonly
colorsObject map containing the Minecraft color codes and their corresponding hex values.
Readonly
aqua: readonly ["55", "FF", "FF"]Readonly
black: readonly ["00", "00", "00"]Readonly
blue: readonly ["55", "55", "FF"]Readonly
dark_Readonly
dark_Readonly
dark_Readonly
dark_Readonly
dark_Readonly
dark_Readonly
gold: readonly ["FF", "AA", "00"]Readonly
gray: readonly ["AA", "AA", "AA"]Readonly
green: readonly ["55", "FF", "55"]Readonly
light_Readonly
red: readonly ["FF", "55", "55"]Readonly
white: readonly ["FF", "FF", "FF"]Readonly
yellow: readonly ["FF", "FF", "55"]Stringify the color into a readable format.
Hex string representation of the color.
Should turn into a SpigotMC compatible color code.
Character symbol to use for SpigotMC if true.
Static
fromTurn vanilla Minecraft color code into a MinecraftColor object.
A new MinecraftColor.
Hex string or Minecraft color code.
Static
fromReturns a new MinecraftColor with the given color code.
A new MinecraftColor.
Minecraft color code.
Static
fromReturns a new MinecraftColor from the given hex string.
A new MinecraftColor.
Hex string representation of the color.
Generated using TypeDoc
Minecraft color value.