User Tools

Site Tools


media:jymol_cmd.bgrgb

bgRgb Command

  • bgRgb(value) sets the background color for the JyMOL workspace.

Parameters

  • 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.

Example

jymol.cmd.bgRgb("grey")

will produce an image like this:

See Also

bgRgb() works the same way as the PyMOL command bg_color in the PyMOL api.

media/jymol_cmd.bgrgb.txt · Last modified: 2013/08/19 21:00 (external edit)