Documentation
    Preparing search index...

    Function safeRGBComponent

    • Constrains a color component value to single-byte range (0-255).

      Parameters

      • c: number

        A color component value.

      Returns number

      The input value constrained into single-byte range.