August 8, 2022 | 5:49pm

Come on, Barbie, let’s go party!
Margot Robbie and Rami Malek took their friendship off screen as they spent a fun day out on a yacht with a few of their friends over the weekend.
The “Amsterdam” co-stars were all smiles as they basked in the sun while vacationing off the coast of Formentera, Spain.
The “Wolf of Wall Street” actress, 32, stunned in a yellow, striped bikini, which she paired off with small silver earrings. Her husband, Tom Ackerley, never left her side as he donned a pair of ombré blue swim trunks.
The pair, who have been married since 2016, made the most of their vacation as they jumped off the side of the boat along with some of their friends.
After getting out of the water, Robbie and Ackerley, 32, were spotted sitting together at the back of the yacht. Moments later, they helped a mystery woman get back on the boat after a swim.
The couple chatted after taking a dip in the water.
IMP FEATURES / BACKGRID
The couple chatted after taking a dip in the water.
IMP FEATURES / BACKGRID
The couple chatted after taking a dip in the water.
IMP FEATURES / BACKGRID
Unlike the couple, Malek chose to stay dry inside the yacht.
The “Bohemian Rhapsody” actor, 41, could be seen chatting to a few people while sporting an all-white ensemble and sunglasses. He also served as a bartender while filling up a few champagne glasses.
Robbie, her husband (far right) and their friends jumped off the boat together.
IMP FEATURES / BACKGRID
Robbie, her husband (far right) and their friends jumped off the boat together.
IMP FEATURES / BACKGRID
Malek and Robbie are getting ready for the release of their new movie, “Amsterdam.”
The movie, which also features Chris Rock, Taylor Swift, Christian Bale, Michael B. Jordan, Anya-Taylor Joy and Robert de Niro, is set to release later this year.
Rami Malek chose to stay inside the boat.
IMP FEATURES / BACKGRID
Rami Malek chose to stay inside the boat.
IMP FEATURES / BACKGRID
Rami Malek chose to stay inside the boat.
IMP FEATURES / BACKGRID
Rami Malek chose to stay inside the boat.
IMP FEATURES / BACKGRID
The Australian actress recently became the highest-paid actress in Hollywood following her payout from Greta Gerwig’s “Barbie.”
Robbie cashed in $12.5 million for her role in the upcoming comedy where she stars as the iconic Mattel doll from 1959.
The much-hyped film has already taken the world by storm with its hot-pink-filled fashion leading to the “Barbiecore” trend of the summer.
Robbie showed off her figure in a yellow bikini.
IMP FEATURES / BACKGRID
Robbie showed off her figure in a yellow bikini.
IMP FEATURES / BACKGRID
Robbie showed off her figure in a yellow bikini.
IMP FEATURES / BACKGRID
Robbie showed off her figure in a yellow bikini.
IMP FEATURES / BACKGRID
Many Hollywood stars have been inspired by eye-catching color after paparazzi photos from the set of Gerwig’s film showcased Robbie and co-star Ryan Gosling covered head to toe in the bright hue.
Robbie even celebrated her 32nd birthday on set back in July with a hot pink Barbie doll cake with “Happy Birthday Barbie Margot!” written with light pink icing.
“Barbie” is set to hit theaters July 21, 2023.