def progressbar_colour(value: float):
    """Converts a percentage to a bootstrap label"""
    if value > 99.5:
        return "progress-bar-green"
    elif value < 50.0:
        return "progress-bar-red"
    else:
        return "progress-bar-yellow"