code: def hex_to_rgb(x):
      """Turns a color hex representation into a tuple representation."""
      return tuple([int(x[i : i + 2], 16) for i in (0, 2, 4)])
  
file_path: luminoth/luminoth/vis.py
imports: import numpy
  import sys
  from PIL import Image, ImageDraw, ImageFont
label_desc: Use image node_id 2 for calling a global function with example usage: hex_to_rgb(x) and returns: tuple