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

    Function linearizeP3Color

    • Converts a DCI-P3 RGB color to its linearized form by applying the RGB gamma transfer function to each component of the color.

      Parameters

      • color: P3Color

        An object representing the P3 color with properties r, g, and b. Each property represents a color channel within the P3 range.

      Returns P3Color

      A new P3Color object with each color channel linearized using the gamma transfer function.