color
Set the shade of a molecular selection in PyMOL. Provide a shade name and optional selection to highlight or differentiate structures.
Instructions
Sets the color for a selection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selection | No | PyMOL selection string. | all |
| color_name | Yes | A PyMOL color. Common names: ``red``, ``blue``, ``green``, ``yellow``, ``magenta``, ``cyan``, ``orange``, ``salmon``, ``marine``, ``forest``, ``palegreen``, ``skyblue``, ``violet``, ``grey50``, ``white``, ``black``. Use ``atomic`` to color non-carbon atoms by element while leaving carbons untouched. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |