@SuppressWarnings("UseJBColor")
    public static List<Color> getRecentColors() {
      final String value = PropertiesComponent.getInstance().getValue(COLOR_CHOOSER_COLORS_KEY);
      if (value != null) {
        final List<String> colors = StringUtil.split(value, ",,,");
        ArrayList<Color> recentColors = new ArrayList<>();
        for (String color : colors) {
          if (color.contains("-")) {
            List<String> components = StringUtil.split(color, "-");
            if (components.size() == 4) {
              recentColors.add(new Color(Integer.parseInt(components.get(0)),
                                           Integer.parseInt(components.get(1)),
                                           Integer.parseInt(components.get(2)),
                                           Integer.parseInt(components.get(3))));
            }
          }
          else {
            recentColors.add(new Color(Integer.parseInt(color)));
          }
        }
        return recentColors;
      }
      return Collections.emptyList();
    }
@SuppressWarnings("UseJBColor")
    public static List<Color> getRecentColors()