Practic BUI (Base UI) - v1.0.0
    Preparing search index...

    Function colorToLinear

    • Converts an sRGB channel from 0 to 255 to linear light, as CSS Color 4 defines.

      Parameters

      • channel: number

        Gamma-encoded channel.

      Returns number