A molecular structure can contain many kinds of information: separate chains, residue categories, a gradual score, or values that differ around a meaningful midpoint. If all of these are colored the same way, the image may look polished but still be hard to interpret. A useful first step is to decide what the colors are meant to communicate, then choose a palette family that fits.
SAMSON’s default palettes are grouped into discrete, sequential HCL, qualitative HCL, diverging HCL, and flexible diverging HCL palettes. HCL means Hue-Chroma-Luminance. You do not need to know the color-space mathematics to use the groups practically: start with the structure of your data, rather than picking a palette based only on its name or appearance.
For distinct categories, use distinct colors
When each item belongs to one of several separate groups—for example, when you want to distinguish chains or selected structural parts—a discrete palette is a natural place to start. The page includes options such as Accent, Okabe-Ito, Paired, Set1, tab10, and tab20. These palettes are sets of individual colors, rather than ramps intended to suggest that one value is larger than another.

One practical check: if you have more categories than clearly distinguishable colors, the display may become difficult to decode. Consider showing fewer groups at once or adding labels and other visual cues. A palette cannot make an overcrowded legend easy to read by itself.
For values that progress, use a sequential palette
If the values run from low to high, a sequential palette can make that progression easier to see. SAMSON’s sequential HCL options include Viridis, Plasma, Inferno, Gray, Blue, Green, and several other palettes. Choose a ramp that remains legible against your scene background, and keep the direction consistent with your legend: viewers should be able to tell which end represents lower values and which represents higher ones.

Before settling on a palette, inspect both ends and the middle. If two neighboring values look nearly identical in the rendered structure, the palette may not help you distinguish the detail you care about. Conversely, a strong visual change can draw attention to differences that are small in the underlying data, so use a legend and state what is being mapped.
For values around a reference point, consider diverging
A diverging palette is useful when the meaning of a value depends on which side of a central reference it falls—for example, below versus above a baseline. The default diverging HCL list includes Berlin and Blue-Red variants; flexible diverging options include palettes such as RdBu, RdYlBu, and PiYG. The key is the data semantics: use this style when a meaningful center exists, not simply because two contrasting colors look appealing.

Keep the midpoint visible in your legend, and make sure the two sides are not accidentally interpreted backwards. SAMSON’s palette and color scheme dialogs let you reverse the left and right arms of a palette, which can help align the visual direction with your chosen convention.
A quick decision routine
- Ask what the colors represent. Separate groups, a low-to-high quantity, or differences around a reference point call for different palette logic.
- Choose the matching family. Start with discrete for categories, sequential for progression, and diverging when the center has meaning.
- Check the structure and its legend together. Confirm that the colors are distinguishable and that the mapping is understandable without relying on memory.
- Adjust the palette direction if needed. Reversing the arms is available in the palette or color scheme dialogs. You can also create custom HCL palettes when the defaults do not fit your use case.
This approach helps prevent a common visualization problem: colors that are attractive but imply the wrong relationship between the values. For more details and the complete list of default palettes, see Default color palettes, along with the guides to Colorizing and Visual presets.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
