code: def hex_to_rgb(hex: str) -> Tuple[float, ...]:
      """Format a hex value (#FFFFFF) as normalized RGB (1.0, 1.0, 1.0).
  
      Args:
          hex: The hex value.
  
      Returns:
          The RGB representation of that hex color value.
      """
      hex = hex.lstrip("#")
      hlen = len(hex)
      return tuple(
          int(hex[i : i + hlen // 3], 16) / 255
          for i in range(0, hlen, hlen // 3)
      )
  
file_path: ydata-profiling/src/ydata_profiling/visualisation/utils.py
imports: import base64
  import uuid
  from io import BytesIO, StringIO
  from pathlib import Path
  from typing import List, Optional, Tuple
  from urllib.parse import quote
  import matplotlib.pyplot
  from matplotlib.artist import Artist
  from ydata_profiling.config import Settings
label_desc: Use image node_id 1 for calling a global function with example usage: hex_to_rgb(hex) and returns: tuple