Function mhvcToHex

  • Converts Munsell HVC to 24-bit hex color.

    Parameters

    • hue100: number

      is in the circle group R/100Z. Any real number is accepted.

    • value: number

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

    • chroma: number

      will be in [0, +inf). Assumed to be zero if it is negative.

    • Optional rgbSpace: RGBSpace = SRGB

    Returns string

    hex color "#XXXXXX"

Generated using TypeDoc