You're supposed to combine the order of the colors mentioned in the poem and the number found in the papers.
First would be the red slider on the number 8, then blue on the number 6, and so on.