getHexColor

fun CommandContext<CommandSourceStack>.getHexColor(name: String): TextColor

Retrieves a TextColor (hex color) from the command context.