Billy Dee Williams, best known for playing Lando Calrissian in the "Star Wars" franchise, has opened up about his gender identity.

In a recent interview with Esquire, Williams, 82, discussed his masculine and feminine sides.

“I never tried to be anything except myself," Williams said. "I think of myself as a relatively colorful character who doesn’t take himself or herself too seriously.”

BILLY DEE WILLIAMS TALKS 'STAR WARS' CO-STARS HARRISON FORD AND CARRIE FISHER'S ALLEGED AFFAIR

"You see, I say ‘himself’ and ‘herself,’ because I also see myself as feminine as well as masculine," he continued. "I’m a very soft person. I’m not afraid to show that side of myself.”

When the outlet told Williams that actor Donald Glover, who played Calrissian in "Solo: A Star Wars Story," employed gender fluidity in the film, Williams was nothing short of pleased.

"Really? That kid is brilliant -- just look at those videos," Williams said, referencing "This is America," Glover's song under the pseudonym Childish Gambino.

Later this month, fans will be reunited with Williams in "Star Wars: The Rise of Skywalker," for which Williams went on a strict diet and exercise routine, he said.

'STAR WARS: EPISODE IX' DIRECTOR J.J. ABRAMS SHARES FIRST PHOTO FROM MOVIE SET, PAYS TRIBUTE TO CARRIE FISHER

"When I have to go to work, my ego tells me I want to look pretty good," the actor said. "I don’t want to look bad. I don’t want to look like a slob."

The Emmy nominee also discussed the impact his role in "Star Wars" had on future films.

Williams noted that at Disney's recent D23 Expo, where he appeared to promote his movie, Dwayne "The Rock" Johnson and Jamie Foxx both offered him praise, saying he influenced their careers.

“The Rock calls me the OG,” Williams said. “What I presented on that screen people didn’t expect to see. And I deliberately presented something that nobody had experienced before: a romantic brown-skinned boy.”

Williams is also known for his paintings, some of which can still be seen at galleries around the country, and his album of jazz standards, "Let's Misbehave."

CLICK HERE TO GET THE FOX NEWS APP

"The Rise of Skywalker" will hit theaters on Dec. 20.