change the background colour of a window?

How do I just change the background colour of a window?
Instead of using an image?
i.e. local background = display.newImage( “background3.png” ) [import]uid: 77494 topic_id: 12732 reply_id: 312732[/import]

one way is to draw a rect of the entire screen size and fill it with the color desired.

[import]uid: 55009 topic_id: 12732 reply_id: 46685[/import]