:mod:`psychopy.tools.colorspacetools`
-------------------------------------

.. automodule:: psychopy.tools.colorspacetools
.. currentmodule:: psychopy.tools.colorspacetools


CIELAB
~~~~~~

Conversion functions for the *CIELAB* and *CIELCH* color space.

.. autosummary::
    :toctree: ../generated/

    cielab2rgb
    cielch2rgb

DKL
~~~

Conversion functions for the *Derrington Krauskopf and Lennie* (DKL) color
space.

.. autosummary::
    :toctree: ../generated/

    dkl2rgb
    dklCart2rgb
    rgb2dklCart

HSV
~~~

Conversion functions for the *Hue-Saturation-Value* (HSV) color space.

.. autosummary::
    :toctree: ../generated/

    hsv2rgb
    rgb2hsv

LMS
~~~

.. autosummary::
    :toctree: ../generated/

    lms2rgb
    rgb2lms

Gamma/Transfer Functions
~~~~~~~~~~~~~~~~~~~~~~~~

Standard gamma functions for converting between *linear RGB* space and *sRGB*.

.. autosummary::
    :toctree: ../generated/

    srgbTF
    rec709TF

Helpers
~~~~~~~

Helper functions for working with color coordinates.

.. autosummary::
    :toctree: ../generated/

    rescaleColor