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

    Function p3ToRGB

    • Converts a P3 color to an RGB color. Optionally performs gamut mapping to ensure the resulting RGB color lies within the displayable range.

      Parameters

      • color: P3Color

        The P3 color object to be converted. If true, the resulting RGB color will be clamped to the valid range.

      Returns RGBColor

      The converted RGB color object.