Use a set instead of a list to prevent duplicate colours being added