Function yToMunsellValue

  • Converts Y of XYZ to Munsell value. The round-trip error, abs(Y - munsellValueToY(yToMunsellValue(Y)), is guaranteed to be smaller than 1e-5 if Y is in [0, 1].

    Parameters

    • Y: number

      will be in [0, 1]. Clamped if it exceeds the interval.

    Returns number

    Munsell value

Generated using TypeDoc