Don't underestimate the power of Hollywood.
For generations, Hollywood has been exporting films and TV shows which depicted the wisdom, honesty, and benevolence of peoples of colors -- and the evil ugliness of exclusionary "racism."
Swedes never had colonies. They had little first hand experience with diversity, other than what they saw on their imported TV shows.
Well, Finland and Norway... 😁