A molecular structure can be scientifically correct and still be difficult to read. When several chains, residues, or data values share similar colors, the viewer has to work harder to understand what matters. The fix is not simply to choose brighter colors: it is to match the palette type to the meaning of the information you want to show.
SAMSON includes discrete, sequential, qualitative HCL, diverging HCL, and flexible diverging HCL palettes. Thinking about what your colors represent before choosing among them can prevent a common modeling headache: a polished image that accidentally makes categories look like a scale—or makes a continuous result look like unrelated categories.
First ask: categories, a scale, or a comparison?
Use a discrete palette for separate categories. If you are assigning distinct colors to items such as different chains or groups, the colors should be easy to tell apart rather than imply an order. SAMSON’s discrete options include Accent, Okabe-Ito, Paired, Set1, and tab10. Pick a palette with enough distinct colors for the categories you need; if you have more categories than clearly distinguishable colors, consider splitting the view or emphasizing fewer groups.

Use a sequential palette for values that move from low to high. A gradual progression helps readers perceive an ordering, such as a measured value mapped across a structure. SAMSON’s sequential HCL choices include Viridis, Blue, Green, Gray, Inferno, and Plasma, among others. Choose a progression that remains legible against your background and use the same mapping when comparing related structures.

Use a diverging palette when the midpoint matters. If values represent movement in either direction from a meaningful reference—below versus above a baseline, for example—a diverging palette can make the two sides visually distinct. SAMSON lists diverging HCL palettes such as Berlin and Blue-Red, as well as flexible diverging palettes including RdBu, PiYG, and Spectral. A diverging palette is most informative when the data really does have a meaningful center; otherwise, its two-sided color story may suggest a distinction that is not present.

A quick check before sharing a view
- Write down what each color means. If you cannot describe the mapping simply, viewers may struggle to interpret it too.
- Check the number of groups. A discrete palette is useful only if its colors remain distinguishable at the size of the final image.
- Keep comparisons consistent. When showing multiple structures or conditions side by side, use the same palette and value range where appropriate. Changing either can make similar values look different.
- Do not rely on color alone. Labels, a legend, or another visual cue can help readers who have difficulty distinguishing particular colors.
- Inspect the palette direction. SAMSON lets you reverse the left and right arms of palettes in the color palette or color scheme dialogs. This can be useful when the direction better matches your convention, but keep it consistent across related views.
HCL means Hue-Chroma-Luminance, the color space used for the HCL palette families listed on the reference page. SAMSON also allows you to create custom HCL palettes, which can help when the defaults do not fit your visualization. For more details, see Colorizing and the default color palettes reference.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
