vmd.color.set_colorid

vmd.color.set_colorid()

Set RGB value of a color at a given index

Parameters:
  • id (int) – Color ID to change
  • rgb (3-tuple of floats) – New RGB value for color. Values should be in the range 0 to 1.