value - The value is a string that represents a color that can be specified in the same way colors are specified in PyMOL. Either with key words (e.g., red, brightorange, palegreen, etc.) or with an explicit hex RGB “0xRRGGBB”. The default value is black if this is called without an argument.
will produce an image like this:
bgRgb() works the same way as the PyMOL command bg_color in the PyMOL api.