code: def plotly_color_scale(
      list_of_rgb_tuples: List[TRGB],
      reverse: bool = False,
      alpha: float = 1,
  ) -> List[Tuple[float, str]]:
      """Convert list of RGB tuples to list of tuples, where each tuple is
      break in [0, 1] and stringified RGBA color.
      """
      if reverse:
          list_of_rgb_tuples = list_of_rgb_tuples[::-1]
      return [
          (round(i / (len(list_of_rgb_tuples) - 1), 3), rgba(rgb))
          for i, rgb in enumerate(list_of_rgb_tuples)
      ]
  
imports: import enum
  from numbers import Real
  from typing import List, Tuple
label_desc: Use image node_id 2 for calling a global function with example usage: plotly_color_scale(list_of_rgb_tuples, reverse, alpha) and returns: unknown