How to render objects with the same color for all sides of the object? I am trying to create a label mask for these objects:



I am rendering models of the objects in Blender, but the problem is the lighting. I tried using a point lamp or a hemi lamp, but both give shadows, so that the cubes actually look 3D, which makes sense. I tried deleting the light source but then my cubes are just all black, which also makes sense, but is not what I need. 



How can I render my cubes to have only one color for every side?

EDIT:
@martins answer solves my problem with the different colors, but now the edges are blurry. How could I fix that?
You can use emission shaders in Cycles:



or shadless material in Blender Render: