def hex2rgb(hexcode):
    """
    Converts a color's hexcode to its RGB values

    Args:
        hexcode (str): color hexcode (eg: `#fffff`)

    Returns:
        tuple(int): RGB values for color
    """
    hexcode = hexcode.strip("#")
    return [int(hexcode[i : i + 2], base=16) for i in (0, 2, 4)]