Knowledge Base

Article ID: 387 - Last Modified:

I'd like to color hydrogens attached to nitrogens by the color of the nitrogen, and similarly hydrogens attached to oxygen should be the oxygen color (eg. red). Is this possible?

One way to do this is to create two sets (Tools → Sets) for N-connected H's and O-connected H's, for example:

Set1: (atom.ele H) AND (withinbonds 1 (atom.ele N))
Set2: (atom.ele H) AND (withinbonds 1 (atom.ele O))

Then use Workspace → Atom and Bond Coloring to apply blue color to Set1 and red color to Set2. You can then apply the "Atom Color" scheme to the rest of the structure.

If it is a color scheme that you will be using often, it is probably worth creating a permanent custom color scheme. You can do this from Maestro: see the Maestro User Manual section "Creating and Editing Color Schemes". In earlier releases you can create color schemes by editing resource files: see the "Customizing Maestro" chapter in the Maestro User Manual.

Keywords: atom color

Back to Search Results

Was this information helpful?

What can we do to improve this information?

To ask a question or get help, please submit a support ticket or email us at
Knowledge Base Search

Type the words or phrases on which you would like to search, or click here to view a list of all
Knowledge Base articles