# How to draw a (colored) square at the (upper right) corner of the page?

I think I could draw a square with the \rule command, but I can’t place it at the corner of the page. How can I change the absolute position of my square?

I found my own answer now:

\usepackage{eso-pic}