col

fun col(hex: String): ChatColor

Creates a new ChatColor instance from the provided hex code. Format example: "#4BD6CB"

fun col(rgb: Int): ChatColor

Creates a new ChatColor instance from the provided hex code. Format example: 0x4BD6CB