.. # split from OESystemFunctions.rst:534

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEColorGet

.. oe:function:: OEColorGet

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

      .. oe:api::

         void OEColorGet(const OEColor &, float& r, float& g, float& b)
         void OEColorGet(const OEColor &, double& r, double& g, double& b)
         void OEColorGet(const OEColor &, float& r, float& g, float& b,
                         float& a)
         void OEColorGet(const OEColor &, double& r, double& g, double& b,
                         double& a)

   .. oe:language:: python

      .. oe:api:: python

         OEColorGet(arg1: OEColor, r: float, g: float, b: float) -> None
         OEColorGet(arg1: OEColor, r: float, g: float, b: float, a: float) -> None


   Converts the internal unsigned integer representation of the color
   components into floating point numbers in the range ``[0.0, 1.0]``.

   *r, g, b, a*
      The red, green, blue and alpha components of the color.

   .. seealso::

      * :ref:`OEColor <OESystem_OEColor>` class
      * :oe:func:`OESystem::OEColorSet` function

.. ################################################################
   #
   ################################################################

