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

    Function xyzToCSSString

    • Converts an XYZ color object to a CSS-compatible string representation.

      This function formats the XYZ color as a CSS Color Module Level 4 color function, including the illuminant name in the format: color(xyz-d65 X Y Z / A).

      Parameters

      • color: XYZColor

        The XYZ color object to convert

      Returns string

      The CSS-compatible string representation