def _to_colorlab_hue(hue):
    """Convert between Munsell hue value formats.
    
    Convert a single hue value from 'munsellinterpol' package into
    `hue_shade` and `hue_index` Colorlab values.

    Parameters
    ----------
    hue : float in domain [0, 100]

    Returns
    -------
    hue_shade, hue_index : float
      With `hue_shade` in domain [0, 10] and `hue_index` in domain [1, 10].
    """
    if hue == 0:
        hue = 100

    hue_index, hue_shade = divmod(hue, 10)
    hue_index = int(hue_index)
    if hue_shade == 0:
        hue_shade = 10
        hue_index = hue_index - 1

    # | code | munsellinterpol | Colorlab |
    # |    R |               0 |        7 |
    # |   YR |               1 |        6 |
    # |    Y |               2 |        5 |
    # |   GY |               3 |        4 |
    # |    G |               4 |        3 |
    # |   BG |               5 |        2 |
    # |    B |               6 |        1 |
    # |   PB |               7 |       10 |
    # |    P |               8 |        9 |
    # |   RP |               9 |        8 |
    hue_index = ((16 - hue_index) % 10) + 1
    return (hue_shade, float(hue_index))