ixfx
    Preparing search index...

    Namespace OklchSpace

    Functions

    absolute

    Create an LCH colour using absolute hue

    fromCss
    fromHexString
    fromLibrary

    Coverts from the Colorizr library Tests ranges:

    • l: 0..1
    • c: 0..1
    • h: 0..360
    • alpha: 0..1
    generateScalar
    guard
    interpolator
    scalar
    toAbsolute

    Returns a string or OkLch value to absolute form.

    toCssString

    Returns the colour as a CSS colour string: oklch(l c h / opacity).

    toScalar
    withOpacity

    Scales the opacity value of an input Oklch value

    Variables

    OKLCH_CHROMA_MAX