.animation not working

.animation not working

<script type="text/javascript">
    $(function(){
        $('.menus').hover(
       
                    function(){
                        $(this).animate({ "backgroundColor" : '#CCC'},500);
                    },
                   
                   
                    function(){
                        $(this).animate({ "backgroundColor" : '#000'},500);
                    }
        );
    });
</script>