Function lchToLab

  • Convert the given CIELCh(ab) or CIELCh(uv) color to a CIELAB or CIELUV (respectively) color. Based on the EasyRGB pseudo-code.

    Parameters

    • color: Lch

      The CIELCh color.

    Returns Lab | Luv

    A CIELAB or CIELUV color.