.. oe:namespace:: OEShape

.. meta::
   :keywords: OESelfColor

.. oe:function:: OESelfColor

   .. oe:language:: c++ java csharp

      .. oe:api::

         float OESelfColor(const OEChem::OEMolBase& mol,
                           const OEColorForceField& cff, bool allcolor = false)

   .. oe:language:: python

      .. oe:api:: python

         OESelfColor(mol: Union[OEGraphMol,OEMol,OEQMol],
                     cff: OEColorForceField, allcolor: bool = False) -> float

   Calculate the self color score for the given molecule, using the
   passed in color force field.
