private static Color darker(final Color c) {
    final double factor = 0.9;
    return new Color(
        (int) (c.getRed() * factor),
        (int) (c.getGreen() * factor),
        (int) (c.getBlue() * factor),
        c.getAlpha());
  }
A tabbed layout that applies a small overlap to the tabs.
java/ui/src/main/java/com/google/security/zynamics/bindiff/gui/components/MaterialChromeTabbedPaneUI.java