That is the correct thing to do. Skin color is irrelevant. It’s the person that matters.
I suspect “Skin color is irrelevant” is considered racist these days as well.