vmd-python
3.0.1
Animate
Atomsel
Axes
Color
Display
Evaltcl
Graphics
Graphics primitives
Manipulating graphics primitives
Changing the style of graphics
vmd.graphics.color
vmd.graphics.material
vmd.graphics.materials
IMD
Label
Material
Measure
Molecule
Molrep
Mouse
Render
Selection
Topology
Trans
VMD Callbacks
VMD Menu
VMD Numpy
vmd-python
Docs
»
Graphics
»
vmd.graphics.color
View page source
vmd.graphics.color
¶
vmd.graphics.
color
(
)
¶
Set color for subsequent graphics primitives in this molecule.
Parameters:
molid
(
int
) – Molecule ID to affect
color
(
int
,
3-tuple of float
, or
str
) – Color, either as color ID, or name.