(function($){
    $.fn.hoverFadeColor = function(settings){
        var config = {
            'color': 'red',
            'fadeToSpeed': 300,
            'fadeFromSpeed': 700
        };
        
        if (settings) 
            $.extend(config, settings);
        
        this.each(function(){
            var originalColor = $(this).css("color");
            $(this).hover(function(){
                $(this).stop().animate({
                    color: config.color
                }, config.fadeToSpeed);
            }, function(){
            
                $(this).stop().animate({
                
                    color: originalColor
                }, config.fadeFromSpeed);
            });
        });
        return this;
    };
})(jQuery);

