def to_fractional_rgb(rgb: tuple) -> tuple:
    """
    Convert color (h, s, l) to a fractional form (fr, foreground, fb) where fr foreground and fb are float values
    between 0 and 1. This is useful when interfacing with the in built python library colorsys

    :param rgb: rgb tuple (h, s, l) where h s and l lie between 0 and 255
    :return: rgb tuple (fr, foreground, fb) where h s and l are floats lying between 0 and 1
    """
    return tuple([x/255 for x in rgb])