A molecular structure can contain thousands of atoms, multiple chains, and several kinds of visual models. When everything shares one color, it becomes harder to follow a chain, spot a region, or understand how a measured property varies. But color can also confuse: a palette that looks attractive may be difficult to interpret, and a color only helps if you know what it represents.
A useful approach is to begin with a question. Do you want to distinguish chains, examine residue properties, or simply highlight a selected part of the structure? In SAMSON, choosing a color scheme that matches that question can turn color from decoration into a practical guide.
Pick a scheme that answers a specific question
For a clean visual emphasis, use Constant to apply one color to the selected nodes. This is useful when you want to draw attention to a region without encoding additional data. For a quick view of the elements in a structure, Per element (CPK) assigns colors according to atom element; it is the default color scheme for structural nodes.
When you need to distinguish parts of a structure, try a scheme based on an attribute. Chain colors by chain ID, while Residue type and Secondary structure type distinguish residues according to those properties. Schemes such as Temperature factor, Occupancy, and Partial charge map atom attributes to color. For a protein, the documentation also demonstrates coloring residues by hydrophobicity.
The key is to keep the interpretation explicit: a color in an attribute-based view represents the selected property, not a universal signal. If you share an image, state which scheme is applied so that another researcher can read it correctly.
Apply color at the right level
You can color selected nodes from the context toolbar, through Visualization > Color, or by editing a material in the Inspector. A material contains the color scheme as well as appearance settings such as metallic, roughness, and transmission. Applying a material to a node affects its descendants, so check what is selected before applying a scheme. Selecting a structural model, for example, can color the nodes beneath it; selecting a smaller part lets you focus the treatment more narrowly.
Here is an example of applying a property-based scheme to a protein:

To start, open a molecule—for example, fetch a protein from RCSB PDB using Home > Fetch—and select the structural model in the Document view. Choose a scheme from Visualization > Color or the context toolbar. If the result is not what you intended, use Color > Reset color to restore the default colorization, or undo the operation.
Make the palette carry information clearly
Each per-attribute scheme has a default palette, but you can change it using Color > Custom… or the material controls in the Inspector. The custom dialog lets you select both the attribute scheme and palette. SAMSON includes standard HSV palettes, discrete palettes, and HCL palettes, including qualitative, sequential, and diverging types. As a practical starting point, use a palette type suited to the data you want to show: a sequential palette for values that progress, or a diverging palette when values are meaningfully compared around a midpoint. These are general ways to think about palette structure; the important thing is to inspect the result against your data.
For an attribute-based scheme, the Inspector also lets you adjust the minimum and maximum range. This can help when you want the displayed colors to correspond to a particular range—for example, for temperature factor. Check the range as well as the palette: changing the range changes how values map onto the available colors.

Before settling on a palette, use the Color Vision Deficiency Emulator at the bottom of the palette window to preview how it may appear to people with certain color vision deficiencies. You can also enable Auto update to preview palette changes on the structure, or click Update. The documentation notes that updating may be slow for large systems.
A small workflow for clearer molecular views
- Decide what the color should communicate. Choose a constant color for emphasis, an element scheme for atom identity, or an attribute scheme for structural data.
- Select the intended scope. Remember that applying a material to a node affects its descendants.
- Inspect the palette and range. Use the Inspector or the custom palette dialog to adjust them.
- Check readability. Preview the palette with the emulator and confirm that the displayed colors support the point you want to make.
- Reset or refine when needed. Reset colorization to return to the default, or adjust the material rather than rebuilding the whole view.
For more details on schemes, palettes, and Inspector controls, see the SAMSON colorizing documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
