code: def _to_rgba(color, opacity=1.0):
      """
      Convert a color from tuple representation to an RGBA string representation.
  
      Parameters
      ----------
      color : tuple
          A tuple of 3 values representing RGB color in the range [0, 1].
      opacity : float, optional
          Opacity of the color in the range [0, 1]. Defaults to 1.0.
  
      Returns
      -------
      str
          The RGBA string representation of the input color.
      """
      return f"rgba({','.join(str(int(v * 255)) for v in color[:3])},{opacity})"
  
imports: import numpy
  import pandas
  import psutil
label_desc: Use image node_id 1 for calling a global function with example usage: _to_rgba(color, opacity) and returns: str, str, str, opacity, str