Taos API Reference
    Preparing search index...

    Function parseColor

    • Parses a CSS color string (hex / rgb()/rgba() / hsl()/hsla() / a few names) to LINEAR RGB, or undefined for an expression / unrecognized value (the caller then uses a default).

      Parameters

      • spec: unknown

      Returns [number, number, number] | undefined