code: def change_color(icon, color):
      """
      Function that given an icon in .png format changes its color
      Args:
          icon: Icon whose color needs to be changed.
          color: Chosen color with which to edit the input icon.
      Returns:
          edited_image: Edited icon.
      """
      img = icon.convert("LA")
      img = img.convert("RGBA")
      image_np = np.array(icon)
      _, _, _, alpha = image_np.T
      mask = alpha > 0
      image_np[..., :-1][mask.T] = ImageColor.getcolor(color, "RGB")
      edited_image = Image.fromarray(image_np)
      return edited_image
  
imports: import gradio
  import numpy
  import os
  from PIL import Image, ImageColor
label_desc: Use image node_id 1 for calling a global function with example usage: change_color(icon, color) and returns: edited_image