When i got to the door with the color code near the end, i clicked the colors and it wouldn't let me rearrange them
The page pasted to the portrait to the right of the door contains the clues of the order of the colors. When you have finished clicking on the 4 colors in the correct order, you end by clicking on the central button with a key.