Select all of the atoms which bear lone electrons.
Select all of the atoms which bear lone electron pairs. Gray = C: White = H: red = O: blue = N: dark green = Cl: brown = Br: light green = F: purple = I: yellow = S: orange = P. Double click to select atoms. You can zoom in and out using the mouse scroll wheel (or pinch to zoom on touch screens).