static @NotNull Style style(final @Nullable TextColor color, final Set<TextDecoration> decorations) {
    final Builder builder = style();
    builder.color(color);
    if (!decorations.isEmpty()) {
      for (final TextDecoration decoration : decorations) {
        builder.decoration(decoration, true);
      }
    }
    return builder.build();
  }
Creates a style with color and decorations.

@param color the style
@param decorations the decorations
@return a style
@since 4.0.0
api/src/main/java/net/kyori/adventure/text/format/Style.java