Changing the Background Color


Changing the Background Color

Changing the background color in Partiview is simple. Using the bgcolor command, you may set the background to any color you wish by specifying a red, green, blue (R, G, B) color. The default value is black [(R, G, B) = (0, 0, 0)], but let's say you want to change the background to red, this can be accomplished via the command:

bgcolor 1 0 0

Try this in Partiview. Also, try changing to varying levels of gray by issuing the command bgcolor with only one argument. When only one argument is specified, all three arguments, R, G, and B are set to that value. All colors range from 0 to 1, so bgcolor 0 gives you a black background, bgcolor .5 yields a gray, and bgcolor 1 is white.


© 2002-2005 American Museum of Natural History
Last Modified: 2006-04-28 by Brian Abbott