When did colonialism come to an end?

There are still colonies. Look it up in a map or something. That is a "gray area" question. As stated above, some colonial nations still exist, but most gained their independence following World War 2.