Refactor where colors are done.