public static synchronized void getColors() {
    StringTokenizer tokenizer = new StringTokenizer(standardColorsString, ", \n");
    HashMap<String, String> standardColors = new HashMap<>();

    while (tokenizer.hasMoreTokens()) {
      String name = tokenizer.nextToken();
      String value = tokenizer.nextToken();
      standardColors.put(name, name);
      ourColorNameToHexCodeMap.put(name, value);
      ourHexCodeToColorNameMap.put(value, name);
    }

    tokenizer = new StringTokenizer(colorsString, " \t\n");

    while (tokenizer.hasMoreTokens()) {
      String name = tokenizer.nextToken();
      String hexValue = tokenizer.nextToken();

      tokenizer.nextToken(); // skip rgb

      if (!standardColors.containsKey(name)) {
        ourColorNameToHexCodeMap.put(name, hexValue);
        ourHexCodeToColorNameMap.put(hexValue, name);
      }
    }
  }
public static synchronized void getColors()