Color (boolean useContrastColors) { Color base = JBColor.namedColor("GotItTooltip.stepForeground", foreground(false)); if (useContrastColors) { return JBColor.namedColor("Tooltip.Learning.stepNumberForeground", base); } return base; }