public @Nullable TextColor color() {
    return this.color;
  }
Gets the color.

@return the color
@since 4.0.0
text-serializer-legacy/src/main/java/net/kyori/adventure/text/serializer/legacy/LegacyFormat.java