math docs
    Preparing search index...

    Function linearSrgbToLinearDisplayP3

    • Convert a linear-sRGB Color to linear Display-P3 primaries, into out. Returns out. (Both spaces share the sRGB transfer curve; this changes only the primaries.)

      Parameters

      • out: color.Color
      • c: readonly [number, number, number]

      Returns color.Color