def convert_hex_to_rgb_255(hex_str):
    """Convert hex color to rgb in range 0-255."""
    hex_color = hex_str.lstrip("#")
    n = len(hex_color)
    rgb = list(int(hex_color[i : i + int(n / 3)], 16) for i in range(0, int(n), int(n / 3)))
    return rgb