ixfx
    Preparing search index...

    Namespace OklchSpace

    Functions

    absolute

    Create an LCH colour using absolute hue

    fromCss

    Converts from some CSS-representation of colour to a structured OkLch format.

    fromHexString

    Parse a HEX-formatted colour into OkLch structured format

    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).

    toHexString
    toScalar
    withOpacity

    Scales the opacity value of an input Oklch value

    Variables

    OKLCH_CHROMA_MAX