Function LinearToSRGB

  • Converts a single color channel from the linear color space to sRGB.

    Parameters

    • c: number

      The color channel to be converted.

    Returns number