Skip to content

Ring fills

A ring fill colors in a ring, as biochemistry and textbook figures do to point out a steroid’s rings or a base’s aromatic ring. The fill lies under the bonds and atom labels and follows the ring when you move, rotate, or flip the molecule.

To fill one ring, right-click inside it and select Fill Ring. When the ring is part of a fused system, such as naphthalene, Fill Ring System fills every ring of that system at once. To take a fill off, right-click inside the ring and select Remove Ring Fill. Each of these is one undo step.

A fill on a ring that already has one replaces it, so a ring never carries two fills.

The Structure > Ring Fills menu works on the selection, or on every molecule when nothing is selected:

  • Fill Rings in Selection fills each ring whose atoms are all selected.
  • Fill All Aromatic Rings fills each aromatic ring, such as benzene, pyridine, pyrrole, furan, and both rings of azulene. Cyclopentadiene is not aromatic and is left out. A ring with a C=O on it is aromatic when its other atoms give it 6 pi electrons (the C=O carbon gives none), so 2-pyridone, uracil, and both rings of caffeine are filled; p-benzoquinone is not aromatic and is left out. Such a ring is filled but never given an aromatic circle, because the drawn C=O would count its electrons twice.
  • Color Fused Rings gives each ring of a fused system its own color from a palette, as for the A to D rings of a steroid.
  • Remove Fills from Selection takes off the fills of the selected rings.
Caffeine as a line structure with both of its rings filled pale blue, the six-membered ring with two C=O groups included.
Caffeine after filling its aromatic rings: both rings count, C=O ring included.

Select the ring (or the whole molecule). The Ring Fill section of the Object Properties panel sets the fill of every selected ring that has one:

Control What it does
Color The fill color.
Fill Solid, linear gradient, radial gradient (both from the color to white), hatch, or crosshatch. A pattern keeps the rings apart in a grayscale print, where color alone does not.
Opacity How strongly the color shows, from 0.05 to 1.
Inset How far the fill stays inside the bond lines, in bond lengths. 0 fills up to the bond lines.
Rounding Rounds the fill’s corners, from 0 (sharp) to 1.
Remove fill Takes the fills off.

A fill belongs to its ring’s atoms. It moves, rotates, and flips with them, it is copied and pasted with them, and a view derived from the molecule (for example its Lewis structure) carries it to the same ring. Breaking a bond of the ring removes the fill; undo brings it back. Exported SVG files include the fills, also with Export Selection. Animations do not show ring fills.

fill benzene.ring(C1) fills the ring that holds the atom C1 of benzene; when an atom is in two rings, name a second atom: fill naphthalene.ring(C1, C2). fill indole rings: aromatic fills the aromatic rings of a molecule, and fill testosterone palette: each colors a fused system ring by ring. The options are color:, opacity:, pattern: (none, hatch, or crosshatch), gradient: (none, linear, or radial), inset:, rounding:, and name:. A fill is named fill-1, fill-2, and so on, so change fill-1 opacity: 0.5 and delete fill-1 work on it. See Commands.