Yes, that is the ideal, that the colour of your skin does not matter. If you don't want to take my word on it, maybe Martin Luther King can convince you:
I have a dream that my four little children will one day live in a nation where they will not be judged by the color of their skin but by the content of their character.
I have a dream today!
[1] https://www.americanrhetoric.com/speeches/mlkihaveadream.htm