.. include:: ../substitutions

.. oe:namespace:: OEDepict

.. meta::
   :keywords: OEGetColor

.. _OEDepict_OEGetColor:


.. oe:function:: OEGetColor


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

      .. oe:api::

         OESystem::OEColor OEGetColor(const OESystem::OEInterface& itf,
                                      const std::string& name)

   .. oe:language:: python

      .. oe:api:: python

         OEGetColor(itf: OEInterface, name: str) -> OEColor

   Returns the color initialized in the given interface.

   *itf*
      The interface in which the parameter is configured.

   *name*
      The name of the parameter.

   .. seealso::

      * :oe:func:`OEDepict::OEConfigureColor` function
      * :ref:`OEColor <OESystem_OEColor>` class
