Simultaneous action

Simultaneous action

Hello, How to make that all happened together?

 $('div').animate({
        backgroundColor:'black'
    });
    
    $('div').slideUp();