Before revision: Colored hats (or Coloured) or color-coded hats (or colour-coded) are used in psychology, religions, societies, workplaces, and learning environments, both literally and figuratively.
After revision: Coloured hats or color-coded hats are used in psychology, religions, societies, workplaces, and learning environments, both literally and figuratively.