Homosexuality is a preference, not assigned at birth.
There are former gays and lesbians (NYC mayor’s wife for example), but there are no former black people.
There is no practical way to be in the closet about your skin color is a more accurate statement, but people can have their skin color altered medically, and some have their skin turn pale due to a medical condition.