import hashlib


def html_color_from_name(name: str) -> str:
    """
    Transforms a string into a unique, bright HTML color
    (hue varies, saturation and value are fixed).
    Transformation is pure.

    Parameters
    ----------
    name : str
        The string to convert

    Returns
    -------
    str
        A string describing a color, valid in HTML/CSS.
    """

    hue = int(hashlib.sha1(name.encode("utf-8")).hexdigest(), 16) % 360
    return f"hsl({hue}, 90%, 55%)"