math docs
    Preparing search index...

    Function setFromSRGB

    • Set out from an sRGB gamma-encoded [r, g, b] array with values in [0, 1]. Converts from sRGB gamma space to linear. Returns out.

      Parameters

      Returns color.Color