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

    Function oklabToCSSString

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

      This function formats the OKLab color as a CSS string using the modern space-separated syntax with the lightness component expressed as a percentage.

      Parameters

      • color: OKLabColor

        The OKLab color object to convert

      Returns string

      The CSS-compatible string representation