public static @Nullable Color chooseColor(@Nullable Project project,
                                            Component parent,
                                            @NlsContexts.DialogTitle String caption,
                                            @Nullable Color preselectedColor) {
    return chooseColor(project, parent, caption, preselectedColor, false);
  }
public static @Nullable Color chooseColor(@Nullable Project project,
                                            Component parent,
                                            @NlsContexts.DialogTitle String caption,
                                            @Nullable Color preselectedColor)