weasel API - v0.8.0
    Preparing search index...

    Function getAlpha01

    • Return the alpha channel of color as 0..1. Defaults to 1 when the color is not in 8-char hex form.

      Parameters

      • color: string

      Returns number