@Override
  default @Nullable TextColor color() {
    return this.style().color();
  }
Gets the color of this component.

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