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