next up previous contents index
Next: VMD Atom Selection Language Up: VMD Script Commands for Previous: Making the molecule to

Querying VMD for Color Information

  To obtain a list of the available color names:
colorinfo colors
To obtain a listing of the attributes of the color red:

foreach attrib {rgb alpha shininess ambient specular} {
   puts "$attrib [colorinfo $attrib red]"
To change the ambient value of the color red to (1.0 .5 .33):
color change ambient red 1.0 .5 .33

Justin Gullingsrud
Tue Apr 6 09:22:39 CDT 1999