private Color getThemeColor(final String fieldName) {
    ensureTheme();
    return colorCache.computeIfAbsent(
        fieldName,
        (k) -> {
          final FieldDescriptor fd = THEME_DESCRIPTOR.findFieldByName(k);
          final String color = (String) theme.getField(fd);
          if (color.isEmpty()) {
            logger.atInfo().log("%s", k);
            return Color.decode((String) DEFAULT_THEME.getField(fd));
          }
          try {
            return Color.decode(color);
          } catch (NumberFormatException e) {
            logger.atWarning().withCause(e).log("Color hex value failed to parse, using default");
            return Color.decode((String) DEFAULT_THEME.getField(fd));
          }
        });
  }
Sets and gets the syntax highlighting color values and font settings for the UI.
java/ui/src/main/java/com/google/security/zynamics/bindiff/config/ThemeConfigItem.java