Living in 21st century people are still trying not to judge people on the basis of their sexuality.
And we aren’t talking only about ordinary people bur also about famous actors.
While some of them hide the fact they are gays as a dirty little secret until their death, others embrace their difference and aren’t afraid to tell the truth to the world.
But there are actors who managed to play straight roles in movies and TV shows despite their sexuality. Scroll down to see them!
"I am a very content gay man living my life to the fullest," said Harris during his coming out in 2006. We all remember him playing Barney Stinson on How I Met Your Mother.
Kristian Nairn, who heartbreaking Hodor in Game of Thrones, came out as gay in an interview in March 2014: "I've never hidden my sexuality from anyone, my whole life in fact. I've been waiting for someone to ask about it in an interview, 'cause it’s not something you just blurt out. I've tried to lead the questions a few times, to no avail!"
Famous Glee actress Jane Lynch got married with Lara Embry in 2010 and divorced in 2014.
Her most famous straight role was boy-crazy Paula in The 40-Year-Old Virgin.
Jodie Foster public coming out took place in 2013 while accepting the Golden Globes Cecil B. DeMille Award.
Among her numerous straight roles the greatest one is Agent Clarice Starling in The Silence of the Lambs.
Parsons is famous for playing socially awkward straight roles, including Sheldon Cooper on The Big Bang Theory.
Gilbert became famous after playing role of Darlene Conner on Roseanne, who married to a guy by the end of the series. In real life she's engaged to Linda Perry.
Ricky Martin’s coming out happened in 2010. He played the straight character of Miguel Morez on General Hospital.
Page came out in 2014 during Human Rights Campaign event. She starred in Juno, a comedy about a high schooler who became pregnant and had her baby adopted.
Nixon is famous for playing Miranda, the intellectual lawyer on SSATC. But in real life, she’s been married with Christine Marinoni since 2012.
Portia de Rossi married Ellen Degeneres in 2008. She has played many straight characters, including the role of Lindsay Bluth Funke.
Though Miller played the straight character Michael Scofield on Prison Break, the world has known about his sexuality since 2013 when he came out.
Maria Bello’s coming out took place in 2013. Her greatest straight role is Edie Stall in the movie A History of Violence.
Sarah Paulson played Harriet Hayes on Studio 60 on the Sunset Strip.
Alan Cumming has played numerous straight characters, including Joe Therrian in The Anniversary Party. He identifies himself as bisexual and has been married with Grant Shaffer since 2007.
The actor, whose coming out took place back in 1988, played many straight roles in his long career, including Romeo in a stage performance of Romeo and Juliet.
McKellen has also played gay characters like Dumbledore and sexually ambiguous roles like Gandalf in the Lord of the Rings trilogy.
Despite he’s an open gay, actor T.R. Knight played the straight role of Dr. George O'Malley on Grey's Anatomy. He’s been married his with Patrick Leahy in 2013.
Zachary Quinto came out in 2011 and played one of the best straight roles of Dr. Oliver Thredson in American Horror Story: Asylum.
Though Rock Hudson never came out, he was widely known to be gay and passed away of complications from AIDS.
Living in an era of widespread homophobia, he played only straight characters, including Brad Allen in Pillow Talk alongside Doris Day.
Matt Bomer came out in 2012. Now he and his partner Simon Halls have three sons together.
His straight roles include Neal Caffrey on White Collar.
The actor Jonathan Groff mostly known for Glee straight character Jesse St. James, is gay and came out in 2009.
Diaz played straight character Guillermo Garcia Gomez on Weeds, but in real life he's gay.
O'Hare has only straight characters in his list, including Larry Harvey on American Horror Story. He's married to Hugo Redwood, with whom he has one son.
One of Greta Garbo's most well-known roles was as the female lead in Anna Karenina. In real life, Garbo lived for 30 years with her female partner Mercedes de Acosta.
We all know Garber from dozens of supporting roles played by him in high-profile movies, especially of the Titanic's designer in James Cameron's Titanic (1997). He came out publicly in 2012 and now lives with his long-term partner in New York.
Though Bennett played Aaron Samuels on Mean Girls, it’s known that he’s gay and dating Matt Dallas.
Grant was married five times to women, but many still believe he was gay. Moreover, he lived with another male actor, Randolph Scott, on and off for more than ten years.
His greatest straight role was of a romantic lead in Bringing Up Baby opposite Katherine Hepburn.
Anthony Perkins played Norman Bates in Alfred Hitchcock's Psycho and its sequels. He was married Berry Berenson and at the same time had relationships with men. The actor passed away from AIDS-related causes in 1992.
In 2012 Ezra Miller confessed in an interview that he was a queer, a person who is nor heterosexual neither cisgender.
His sexuality though didn’t prevent him from
playing superhero Flash in DC’s movies.