code: def colorize(message, color=None, style=None):
      """Returns a message in a specified color."""
      if not color:
          return message
  
      styles = {
          "dim": colorama.Style.DIM,
          "bold": colorama.Style.BRIGHT,
      }
  
      colors = {
          "green": colorama.Fore.GREEN,
          "yellow": colorama.Fore.YELLOW,
          "blue": colorama.Fore.BLUE,
          "red": colorama.Fore.RED,
          "magenta": colorama.Fore.MAGENTA,
          "cyan": colorama.Fore.CYAN,
      }
  
      return "{style}{color}{message}{reset}".format(
          style=styles.get(style, ""),
          color=colors.get(color, ""),
          message=message,
          reset=colorama.Style.RESET_ALL,
      )
  
imports: import hashlib
  import json
  import os
  import re
  import sys
  from typing import TYPE_CHECKING, Dict, Iterable, Iterator, List, Optional, Tuple
  import colorama
label_desc: Use image node_id 9 for calling a global function with example usage: colorize(message, color, style) and returns: str, message