from typing import Tuple


def ranged_value_to_percentage(
    low_high_range: Tuple[float, float], value: float
) -> int:
    """Given a range of low and high values convert a single value to a percentage.

    When using this utility for fan speeds, do not include 0 if it is off

    Given a low value of 1 and a high value of 255 this function
    will return:

    (1,255), 255: 100
    (1,255), 127: 50
    (1,255), 10: 4
    """
    return int((value * 100) // (low_high_range[1] - low_high_range[0] + 1))