Set Color

From PyMOLWiki
Revision as of 00:51, 23 February 2005 by Tree (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

DESCRIPTION

  "set_color" defines a new color with color indices (0.0-1.0)

USAGE

  set_color name, [ red-float, green-float, blue-float ]

  set_color name = [ red-float, green-float, blue-float ]
    # (DEPRECATED)

PYMOL API

   cmd.set_color( string name, float-list rgb )

EXAMPLES

  set_color red = [ 1.0, 0.0, 0.0 ]