Bg rgb

From PyMOLWiki
Jump to: navigation, search


This setting is used to set the color of the background. Any color of the spectrum can be rendered. White backgrounds are often desirable for publication images.


set bg_rgb,[float1,float2,float3]

each float must be between 0.0 and 1.0

float1: red component

float2: green component

float3: blue component

example: set bg_rgb,[1,1,1]

will color the background in white.

See Also