You need to click on the color bars in a particular order. I think it was green, yellow, red, blue, purple (whatever the bottom color is) and then light blue. Once you click the right order, the password will appear in the upper right:
xx
The answer to level 39 on the Never-ending game is pennywise
the answer is pie
random
pants
pants
73786976294838206464
week
scream
The answer is 1967
GOLDIE
24
gnome