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

    Function colorDetectNotation

    • Tells which of the colorNotations a colour is written in, so picking keeps it.

      Parameters

      • value: string

        Colour as written.

      Returns "hex" | "rgb" | "hsl" | "hwb" | "oklab" | "oklch" | undefined

      The notation, or undefined for keywords and other notations.