Yeah there's no immediate mode API like OpenGL...in fact OpenGL no longer has an immediate mode in the later versions. Instead you have to use shaders and/or vertex buffers and constant buffers to achieve this.

As an alternative, you can consider downloading the SpriteBatch class created by Shawn Hargreaves. Using that you could draw colored rectangle by drawing a sprite with a white texture, and specifying a tint color.