display colored rectangle

i want to display my 3d stuff and two fixed rectangles. therefore i wanted to use a bitmap, but how can i fix it on screen.

Fix it on screen as in have it not moving when the camera moves?
Here’s a hint: make sure the modelview matrix doesn’t contain any transformation when rendering your rectangles…
Search the beginner’s forum or google for more information, also have a look at orthographic mode.