The stands were full of vibrant hats as racegoers donned their glad rags for the prestigious event