public static @NotNull Color getBgFillColor(@NotNull Component c) {
    Component parent = findNearestOpaque(c);
    return parent == null ? c.getBackground() : parent.getBackground();
  }
public static @NotNull Color getBgFillColor(@NotNull Component c)