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

    Function delinearizeP3Color

    • Converts a linear P3-based RGB color back to its gamma-corrected form by applying the inverse RGB gamma transfer function to each component of the color.

      Parameters

      • color: P3Color

        An object representing the linear P3 RGB color with properties r, g, and b. Each property represents a linear color channel value in the range [0, 1].

      Returns P3Color

      A new P3Color object with each color channel converted back to gamma-corrected form.