I think it was in location 4, the one with a lot of portals. I ended up in a small room and accidentally chose the only color available there twice instead of going further. I hope this screenshot helps