vmd-python
3.0.1
Animate
Atomsel
Axes
Color
Basic colors
vmd.color.get_colors
vmd.color.get_colorlist
vmd.color.set_colors
vmd.color.set_colorid
vmd.color.categories
Color mappings
Color scale
Display
Evaltcl
Graphics
IMD
Label
Material
Measure
Molecule
Molrep
Mouse
Render
Selection
Topology
Trans
VMD Callbacks
VMD Menu
VMD Numpy
vmd-python
Docs
»
Color
»
vmd.color.get_colors
View page source
vmd.color.get_colors
¶
vmd.color.
get_colors
(
)
¶
Get all legal color names and corresponding RGB values.
Returns:
(dict str->3 tuple of float)
–
Color name and RGB value. RGB values
should be in the range 0 to 1.