private static Color getCustomColor(@NotNull JComponent component, @NotNull Key<Supplier<Color>> key) {
    Supplier<Color> supplier = ClientProperty.get(component, key);
    return supplier == null ? null : supplier.get();
  }
private static Color getCustomColor(@NotNull JComponent component, @NotNull Key<Supplier<Color>> key)