This is a command to assign the background colour which can then be save to the User Preferences.
In a 3D model this can be taken further in the transient background to have the X Y Z planes have tone variations to show 3D virtual volume.
Making the planes move relative to the grid plane can help 3D modellers to orient and maintain perspective while designing.
To show how I model in 3D this is a typical set up screenshot.