I used to think on balance the experience of places like Africa and India were net positive from the British Empire. I think if the British had recognized the folly of racism and their own hubris earlier, they might have had a much more productive relationship with the colonial states akin to the relationship they had with the "Dominions" such as Canada, Australia, NZ. But, because humans were involved they didn't see past those things.