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

    Function colorParseHex

    • Reads a hex colour, as #rgb, #rgba, #rrggbb or #rrggbbaa.

      Parameters

      • value: string

        Text to read.

      Returns Rgba | undefined

      The colour, or nothing when the text is not a hex colour.