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

    Function delinearizeRGBColor

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

      Parameters

      • color: RGBColor

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

      Returns RGBColor

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