Margot Robbie and Ryan Gosling at the world premiere ofBarbiein Los Angeles on July 9, 2023.Photo:Rodin Eckenroth/WireImage

Margot Robbie and Ryan Gosling attend the World Premiere of “Barbie” at Shrine Auditorium and Expo Hall on July 09, 2023 in Los Angeles, California.

Rodin Eckenroth/WireImage

Ryan Goslingwas happy to think pink forBarbie— even when the cameras weren’t rolling.

In fact, as his costarMargot RobbietoldOppenheimerstarCillian Murphyin a chat forVariety’s “Actors on Actors"series, many of Gosling’s fellow Kens were more than willing to don the color on set.

“It’s always the guys, I feel like, that are like, ‘Oh, finally I have permission to wear pink and get dressed up!’ " said Robbie, 33. “It would get crazier and crazier until Ryan would be like, ‘I think I need a mink.’ It would just get insane.”

Never miss a story — sign up forPEOPLE’s free daily newsletterto stay up-to-date on the best of what PEOPLE has to offer, from juicy celebrity news to compelling human-interest stories.

Ryan Gosling and Margot Robbie on the set ofBarbie(2023).Jaap Buitendijk/Warner Bros.

RYAN GOSLING and MARGOT ROBBIE on the set

Jaap Buitendijk/Warner Bros.

“I had forgotten that reference,” said thePeaky Blindersactor.

“On Wednesdays, they wear pink. And so if you didn’t wear pink on set, you got a fine. And then I’d donate it to charity,” Robbie said.

Gosling, who played Ken in the film, previously spoke with PEOPLE for theBarbiespecial issuein which he shared details aboutRobbie’s mandatory weekly pink dress codeand the charitable venture that came out of it.

“What was really special was just how excited the male crew members were. At the end of the film, they all got together and, with their own money, made pink crew shirts with rainbow fringe,” said Gosling, 43.

“It was this opportunity for them to show their respect and admiration for what Margot and Greta were creating,” he added. “It was almost like that scene at the end ofDead Poets Society, where they all get on their desk and say, ‘O captain! My captain!’ "

From L: Kingsley Ben-Adir, Ryan Gosling, Margot Robbie, Simu Liu, Ncuti Gatwa and Scott Evans inBarbie(2023).Warner Bros.

KINGSLEY BEN-ADIR as Ken, RYAN GOSLING as Ken, MARGOT ROBBIE as Barbie, SIMU LIU as Ken, NCUTI GATWA as Ken and SCOTT EVANS as Ken in Warner Bros. Barbie

Warner Bros.

Back in April, writer/director Greta Gerwig, 40, recalled during a presentation atCinemaCon 2023in Las Vegas how theBarbieset was a dream come to life for its cast and crew.

“The cars that they made … it was so touching, because all of the people who made the vehicles had just made the Batmobile and were so excited to get the pink paint out,” Gerwig added.

Robbie couldn’t agree more, telling the filmmaker, “You were just so happy; we felt that every day.”

source: people.com