private String toColor( String value ) {
		if( value.startsWith( "##" ) )
			value = fixColorIfValid( value.substring( 1 ), value );

		// map named colors
		String color = namedColors.get( value );

		// parse color
		return (color != null) ? color : (canParseColor( value ) ? value : null);
	}
http://www.jetbrains.org/intellij/sdk/docs/reference_guide/ui_themes/themes_customize.html#custom-ui-control-colors
flatlaf-core/src/main/java/com/formdev/flatlaf/IntelliJTheme.java