Bug 48773 [Preferences] Workbench should use ColorRegistry for color management.
Wherever possible, the workbench should use the new Color API for its colors.
bundles/org.eclipse.jface/src/org/eclipse/jface/resource/JFaceColors.java
*/
	public static Color getHyperlinkText(Display display) {
	    return JFaceResources.getColorRegistry().get(JFacePreferences.HYPERLINK_COLOR);
	}
	
	/**
	 * Get the default color to use for displaying active hyperlinks.
	 */
	
	public static Color getActiveHyperlinkText(Display display) {
	    return JFaceResources.getColorRegistry().get(JFacePreferences.ACTIVE_HYPERLINK_COLOR);
	}		
	
	
	/**
	 * Clear out the cached color for name. This is generally
	 * done when the color preferences changed and any cached colors
	 * may be disposed. Users of the colors in this class should add a IPropertyChangeListener
	 * to detect when any of these colors change.
	 */
	public static void clearColor(String colorName){
		colorTable.remove(colorName);
		
	}
	
	/**
	 * Get the color setting for the name.
	 */
	private static Color getColorSetting(Display display, String preferenceName) {
        Color color = (Color) colorTable.get(preferenceName);