private static @NotNull Color getColor(@Nullable Component component, @NotNull ColorKey key) {
    Color color = EditorColorsUtil.getColor(component, key);
    assert color != null : "default color is not specified for " + key;

    boolean useContrastScrollbars = LoadingState.CONFIGURATION_STORE_INITIALIZED.isOccurred() &&
                                    UISettings.getInstance().getUseContrastScrollbars();
    if (useContrastScrollbars) {
      color = updateTransparency(color, key);
    }

    return color;
  }
private static @NotNull Color getColor(@Nullable Component component, @NotNull ColorKey key)