This is a script I use from time to time as a quick and easy way to change your Maya viewport's background color. You can use the slider to adjust value or click the color image to bring up a palette and choose a new shade.
If you want to get back to your favorite color quickly, there's a save and load feature as well.
Besides the ramblings of a guy who likes to make things, Script Swell is a place to find MEL scripts, Maxscripts, Python tools and scripts for animators, cg artists, and anyone interested in improving their workflow and pipeline. The editor Jay Grenier is a technical artist currently residing in Burbank, CA.
"There are no limits. There are plateaus, but you must not stay there, you must go beyond them. If it kills you, it kills you. A man must constantly exceed his level." ~Bruce Lee