from typing import List


def hex_to_rgb(value: str) -> List[float]:
    """Converts hex to normalized rgb colours

    Args:
        value (str): string of 6 characters representing a hex colour

    Returns:
        list[float]: rgb color list
    """
    value = value.strip("#")
    lv = len(value)
    rgb_vals = tuple(
        int(value[i : i + lv // 3], 16) for i in range(0, lv, lv // 3)  # noqa: E203
    )
    return [v / 256 for v in rgb_vals]