It is hard for some people to imagine now, but there was a time, not long past, when the use of derogatory and crude racial terms was ordinary, everyday stuff. They were mostly innocent, repeated without thinking, but hurtful and often intentionally insulting. You probably know the terms, so there’s no sense listing them here.
Enlightened, awash in our collective guilt, we have purged our language with a vengeance, and are much the better for it. In a little more than a generation we have gone from near Huckleberry Finn talk to a society where it is preferable to refer to “people of color” but the racial description “colored” is suspect as a vestige of past wrongs.