bool OESetColorParents(OEChem::OEAtomBase *atom,
                       const OEChem::OEAtomBase **parents, unsigned num)

Set the parent atoms of a given color atom. Not normally used as parents are set for color atoms added via a SMARTS match in the color force field. But if you are manually creating color atoms, this is a way to set its parents.