List<Color> (@Nullable EditorColorsScheme scheme) { if (scheme == null) scheme = EditorColorsManager.getInstance().getGlobalScheme(); List<Color> anchorColors = new ArrayList<>(); for (ColorKey key : ANCHOR_COLOR_KEYS) { ContainerUtil.addIfNotNull(anchorColors, scheme.getColor(key)); } return ColorGenerator.generateLinearColorSequence(anchorColors, COLORS_BETWEEN_ANCHORS); }