@dragonspark/chroma-kit
    Preparing search index...

    Function p3ToLab

    • Converts a P3 color to the CIE Lab color space.

      This function first converts the P3 color to XYZ, then from XYZ to Lab. The Lab color space is designed to be perceptually uniform and device-independent.

      Parameters

      • color: P3Color

        The P3 color to convert

      Returns LabColor

      The color in Lab space