Function SRGBToLinear

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

    Parameters

    • c: number

      The color channel to be converted.

    Returns number