@Contract(pure = true)
  @Override
  default @NotNull Component color(final @Nullable TextColor color) {
    return this.style(this.style().color(color));
  }
Sets the color of this component.

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