@willwade/aac-processors
    Preparing search index...

    Function toHexColor

    • Convert any color format to hex Supports: hex (#RGB, #RRGGBB, #RRGGBBAA), RGB/RGBA, and CSS color names

      Parameters

      • value: string

        Color string in any supported format

      Returns string | undefined

      Hex color string (#RRGGBBAA) or undefined if invalid