Why is it considered cool for a black person to be bad, but its also what they are discriminated for?

Innocent black people have long been discriminated for being bad, but now in our culture, especially our youth culture, its what makes them cool. Why is this? And why is what makes them unfairly judged now make them "cool" and give them cool points? Isn't this crazy? They can be cool when there good or bad right?
Why is it considered cool for a black person to be bad, but its also what they are discriminated for?
Post Opinion