They try to dress identically in "black bloc" uniform, in order to make it hard to prove which of them did any particular act. It's not just that they tend to wear black.
My advice to you if you find yourself in a riot where people are destroying property while dressed like you, is to leave the area immediately if you don't want to get caught up in the response.
Thank you.