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

    Function p3ToXYZ

    • Converts a color from the P3 color space to the CIE XYZ color space.

      This function takes a color in the P3 color space as input, linearizes its components, and performs a matrix transformation to convert it to the CIE 1931 XYZ color space.

      The resulting color uses illuminant D65 as its white point.

      Parameters

      • color: P3Color

        The color in the P3 color space, including its alpha value.

      Returns XYZColor

      The resulting color in the CIE 1931 XYZ color space.