public static @NotNull Color getEditorGutterBackgroundColor(@NotNull EditorImpl editor, boolean paintBackground) {
    if (editor.isInDistractionFreeMode() || !paintBackground) {
      return editor.getBackgroundColor();
    }

    if (ExperimentalUI.isNewUI()) {
      Color bg = editor.getColorsScheme().getColor(EditorColors.EDITOR_GUTTER_BACKGROUND);
      return bg == null ? editor.getBackgroundColor() : bg;
    }

    Color color = editor.getColorsScheme().getColor(EditorColors.GUTTER_BACKGROUND);
    return color != null ? color : EditorColors.GUTTER_BACKGROUND.getDefaultColor();
  }
public static @NotNull Color getEditorGutterBackgroundColor(@NotNull EditorImpl editor, boolean paintBackground)