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

    Function jzczhzFromVector

    • Creates a new JzCzHz color object from a vector of JzCzHz components.

      This utility function is useful when working with color calculations that produce arrays of values rather than individual components.

      Parameters

      • v: number[]

        A vector containing the JzCzHz components [jz, cz, hz]

      • Optionalalpha: number

        The alpha (opacity) component (0-1), optional

      Returns JzCzHzColor

      A new JzCzHz color object

      If the vector does not have exactly 3 components