Set color by element

m_set_color_by_element(id, sel, colors)

Arguments

id

R3dmol id or a r3dmol object (the output from r3dmol())

sel

Atom selection.

colors

Color hex code or name.

Value

R3dmol id or a r3dmol object (the output from r3dmol())