Color¶
Coloring schemes for molecular structures.
Shortcut¶
Commands¶
/color color¶
Apply a solid color to a selection.
/color red protein # Red protein
/color blue ligand # Blue ligand
/color 0xFF00FF chain A # Hex color
/color bychain¶
Color each chain a different color.
/color byelement¶
Color by element (CPK coloring: C=gray, N=blue, O=red, S=yellow).
/color byss¶
Color by secondary structure (helices, sheets, loops).
/color bybvalue¶
Color by B-factor (temperature factor).
/color spectrum¶
Rainbow coloring from N-terminus to C-terminus.
/color carbon¶
Set carbon color only (keep heteroatom colors).
/color chainbow¶
Rainbow coloring per chain.
/color byoccupancy¶
Color by occupancy values.