This is a read-only mirror of pymolwiki.org

Bg rgb

From PyMOL Wiki
Jump to navigation Jump to search

Overview

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.

Syntax

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