Depends on where it's being used, for example in Hacking, BlackHat is considered illegal, because of why, how, when it's being put to use. while whitehat is considered legal, if done with target's concent, or as part of a job, to test security and so on.
in other terms, blackhat symbolise now...