You can call it like this:
ColorAdapter.this.notifyDataSetChanged();
As an aside, a more appropriate place to launch this AsyncTask
would be from it's host fragment/activity, why?
AsyncTasks sometimes tend to stick around longer than you expect, if you don't manage their lifecycle appropriately they can cause trouble.