Sexism and racism is alive and well. Most of us know that. But, please understand, that, if you expect to find it, you will. What do I mean by that? Let's say a new white guy is given a complex assignment that will of course make him look good. And you think, wow, I'm senior, I should have gotten it before him. It could be that he has previous experience elsewhere, so it made sense to give it to him.
I went into law enforcement in 1984. Not a whole lot of female officers back then. What I found was, first and foremost, learn my job, learn it well, and do it well. I did not want to be a statistic. ("They only hired her because of affirmative action quotas.") Secondly, I was a cop. Not, "a female cop." But, "a cop." We all bleed blue. Color/gender does not matter. Third, accept that you will have times you need to ask for help. We can't go it alone. But also, there will be times others need to ask you for help. Give it. We are all part of a team. By recognizing each others' strengths and weaknesses, we can work together as a whole to make the company shine.
On a different note. I had to accept some mild off-color jokes. But nobody ever crossed the line around me. You cannot complain about every little thing. You also cannot let people cross boundaries. You can be "one of the guys" without compromising your self-respect. Know where you are going to draw the line. If someone crosses it, consider giving them one, and only one, break. Confront them directly. Wait until the second time to report it. (unless of course it is so bad that they leave you no choice.).
I cannot pretend to know what it is like being a person of color. But I hope something I have said here will help you in your professional journey. Be strong!