@Contract(value = "_, _ -> new", pure = true)
  static @NotNull TranslatableComponent translatable(final @NotNull String key, final @Nullable TextColor color) {
    return translatable(key, Style.style(color));
  }
Creates a translatable component with a translation key, and optional color.

@param key the translation key
@param color the color
@return a translatable component
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/Component.java