@dragonspark/chroma-kit
    Preparing search index...

    Function parseV1

    • Parses a ChromaKit v1 string and returns a Color object.

      Parameters

      • src: string

        The input string in ChromaKit v1 format to parse.

      Returns Color

      The parsed color object containing the color space, its components, and optional alpha value.

      If the input string is not valid or not in ChromaKit v1 format.