public static @Nullable Color chooseColor(Component parent,
                                            @NlsContexts.DialogTitle String caption,
                                            @Nullable Color preselectedColor,
                                            boolean enableOpacity,
                                            List<? extends ColorPickerListener> listeners,
                                            boolean opacityInPercent) {
    return ColorChooserService.getInstance().showDialog(parent, caption, preselectedColor, enableOpacity, listeners, opacityInPercent);
  }
public static @Nullable Color chooseColor(Component parent,
                                            @NlsContexts.DialogTitle String caption,
                                            @Nullable Color preselectedColor,
                                            boolean enableOpacity,
                                            List<? extends ColorPickerListener> listeners,
                                            boolean opacityInPercent)