code: def hex_to_rgb(h):
      """Takes a hex rgb string and returns an RGB tuple."""
      return tuple(int(h[i : i + 2], 16) for i in (1, 3, 5))
  
imports: from __future__ import annotations
  import datetime
  import json
  import logging
  import math
  import warnings
  from collections import defaultdict
  import numpy
  import pandas
  import plotly.express
  import plotly.graph_objects
  from popmon.resources import templates_env
label_desc: Use image node_id 7 for calling a global function with example usage: hex_to_rgb(h) and returns: tuple