The 25-year-old actress goes for an edgier red carpet vibe...

Sarah Hyland totally divided opinion with her outfit at the Emmys last night.

We didn’t know a pair of trousers could cause dramz. But when the Modern Family actress, 25, stepped out with pants-clad legs, that’s exactly what happened.

See: Did Sarah Hyland Bring Something Odd To The Emmys?

Sarah Hyland at the Emmys 2016

Sarah – who plays Haley Dunphy on the hit comedy – worked a stunning embroidered top and black ankle-grazing trews on the red carpet.

Her cream Monique Lhuillier bodice featured floral detailing, a corset-style bodice and a dramatic train.

The masculine cut of the bottoms added an edgy element to the elegant ensemble – and we think she looked completely ah-mazing.

Sarah Hyland at the Emmys 2016

When it came to her accessories, she’d opted for silver strappy heels and a selection of bejewelled rings and earrings.

As usual, her beauty look was on point. Her hair had been teased into a twisted ponytail, and her make-up consisted of pink lips, gold eyes and lashings of highlighter. So beaut.

Of course, plenty agreed with us. One Tweeter wrote: ‘I kind of love what @Sarah_Hyland wore to the Emmys. Different and guarantee she was more comfortable then anyone else đź‘Ť also classy af.’

Sarah Hyland at the Emmys 2016

Another said: ‘Totally loving Sarah Hyland’s outfit. Best dressed. #ERedCarpet #Emmys.’

See: Sarah Hyland Gets A Very Sexy Fashion Makeover

However, others had slightly less positive things to say.

Sarah Hyland at the Emmys 2016

Messages included: ‘I mean I don’t hate Sarah Hyland’s Emmy outfit, but it just did not compare to last years. Also, I don’t think it belongs at the Emmys,’ ‘Honestly wtf is Sarah hyland wearing #Emmys,’ and: ‘My dear #SarahHyland ,when the guys in your yoga class said you looked good in leggings, they didn’t mean you should wear them to the #Emmys.’

Pfft. Who’s to say what does and doesn’t belong at the Emmys?! In fact, we think the fan who wrote this: ‘#SarahHyland looks absolutely lovely at the #Emmys. Why is wearing pants such a shock?’ had it right.

Looking seriously hawt, Sarah! Don’t listen to the haters.