Not the same thing.
All state laws which bind the freedom of Electors are unconstitutional. So, a law prohibiting Electors (once appointed) from voting for a woman or a black person would be unconstitutional.
But it would NOT be unconstitutional for Louisiana (say) to appoint David Duke as an elector, knowing that he would not vote for a black person.
Are you suggesting that a state could pass a law prohibiting black people from appearing on the ballot?