Color (Crumb crumb) { if (!Registry.is("editor.breadcrumbs.marker")) return null; CrumbView found = getCrumbView(view -> view.crumb == crumb); Color foreground = found == null ? null : found.foreground; if (foreground == null) return null; double alpha = Registry.doubleValue("editor.breadcrumbs.marker.alpha"); return ColorUtil.toAlpha(foreground, (int)(alpha * foreground.getAlpha())); }