private void writeColors(@NotNull Element colorElements) {
    List<ColorKey> list = new ArrayList<>(colorMap.keySet());
    list.sort(null);
    for (ColorKey key : list) {
      writeColor(colorElements, key);
    }
  }
private void writeColors(@NotNull Element colorElements)