Set Color: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 18: Line 18:
</source>
</source>


[[Category:Commands|set_color]]
[[Category:Commands|Set Color]]
[[Category:Coloring]]
[[Category:Coloring|Set Color]]

Revision as of 09:25, 20 June 2009

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 ]