A drop of rain could not affect sartorial standards at Royal Ascot today - and even a dog was appropriately dressed for Ladies' Day.
Umbrellas went up as the clouds burst over the Berkshire racecourse but racegoers' vibrant outfits provided the splash of colour needed to brighten up the grey day.
The new dress code meant more thought had to go into outfits this Ladies' Day, always a highlight of the social season.
Headpieces, hats or fascinators must be worn in the grandstand area - with hats mandatory in the royal enclosure.
Bare shoulders are also a no-no, midriffs must be covered and dresses and skirts have to be of a "modest" length.
Men must also wear a shirt and tie in the grandstand.
A team of dress code assistants are on hand to give out fascinators, pashmina-style shawls and ties to those not quite coming up to scratch.
Guide dog Zoey, a four-year-old black Labrador, had been kitted out in a purple, yellow and green hat by owners David and Judith Adams from Warwickshire, to make sure she passed muster.
They were also wearing the colours of Kauto Star, owned by their friend Clive Smith, as ribbons on their outfits.
Mr Adams, who borrowed the hat from a friend who wore it at Windsor racecourse on Monday, said: "We'd been reading about the fashion police and these rules and regulations, and thought: 'Oh my goodness, we'd better comply'.
"Because she's wearing the harness, both her crown and shoulders are covered."
But one racegoer had her bubble burst when she was told her red, white and blue balloon creation was classed as a "novelty hat" - and therefore not acceptable.
A dress code assistant approached Natalie Haverstock, a balloon artist who works under the name Miss Ballooniverse, and took her to one side after she put the balloon hat on inside the grounds.
She was also wearing a miniature blue bowler hat headpiece as stipulated by officials, but was told she had to take the balloons off.
Ms Haverstock, who also wore a Union Jack dress and shoes, told the woman: "I'm wearing a hat."
But the dress code assistant, who had been patrolling the grounds looking for those flaunting the fashion regulations, told her firmly: "It's definitely a novelty hat."
Ms Haverstock, from Canary Wharf, London, was ushered off the premises by a security guard when she tried to pose for photographs just outside the gates.
She said: "I thought I could bend the rules, but no such luck.
"This is the fourth year I've worn one of my creations to Ladies' Day - and the first time I've been told to take it off.
"I knew there were new rules in place, but I'm a balloon artist and this is my creativity, and I'm being told it's not welcome.
"Usually the staff take pictures of me themselves.
"I think they've taken it too far."
Asked what she would do with her balloon hat, she replied: "I've got to check it into the cloakroom - but it's quite robust so it should be all right."
A group of five friends wearing hats on the theme of Britishness were luckier however and got past the so-called fashion police, who were distinctly dressed in purple suits, with no problems.
The dress code assistant who had spoken to Ms Haverstock said they were not classed as novelty hats.
She added: "They're quite clearly eccentric and we support British eccentricity."
Milliner Jayne Elwell, from Sedgwick, who created the teapot, stamp, fried breakfast, afternoon tea and crown-shaped hats, said: "This is such a big year for Britain so we wanted to go for a patriotic theme.
"We decided to reflect different aspects of Britain as a celebration of our culture.
"I do like the new dress rules.
"Last year I really noticed a difference in standards.
"People weren't dressed respectfully.
"It's nice to dress up for Royal Ascot."
Celebrities were out in force, including veteran entertainer Sir Bruce Forsyth, former Olympic champion Steve Redgrave, fashion designer Ozwald Boateng and Downton Abbey creator Julian Fellowes.
Fellowes said: "It's rather typical Ladies' Day weather.
"But I like the fact everyone dresses up, right through the whole race track."
Mezzo soprano Katherine Jenkins braved the rain showers to pose for photographers in a sleeveless, floral metallic dress by Richard Nicholl and a grey hat by Philip Treacy.
The Welsh singer, who was presenting one of the prizes today, said: "I think it's such a lovely occasion to dress up and go for the glamour.
"I love seeing everyone's dresses.
"This is my first time here and I love seeing what everyone is wearing."
Asked by a fan if she was going to sing, she replied: "No - it's a day off with my mum and my sister."
Other hats on display included one in the shape of a giant love heart bearing the words "fine filly", worn by 30-year-old Blanche Richards from east London, and eight headpieces in the shape of musical notes that had been designed by Adrienne Henry from Reading, Berkshire, and worn by her friends and family.
A particularly artistic creation was worn by Carla Creegan from Liverpool. The hat, at three feet tall and three feet wide, was based on a print by artist Louise Dear and made by milliner Hayley Marsden, also from Liverpool, after being commissioned by Castle Galleries.
Ms Dear, from Totnes, Devon, said: "My paintings are all very feminine and a celebration of life - and it's great to see one of them bought to life as a hat."
- More about:
- Clothing Accessories
- Styles And Clothes