docs: def rgba_to_rgb(color, bg='rgb(255,255,255)'):
      """
      Converts from rgba to rgb
  
      Parameters:
      -----------
              color : string
                      Color representation in rgba
              bg : string
                      Color representation in rgb
  
      Example:
              rgba_to_rgb('rgb(23,25,24,.4)''
      """
      def c_tup(c):
          return eval(c[c.find('('):])
      color = c_tup(color)
      bg = hex_to_rgb(normalize(bg))
      bg = c_tup(bg)
      a = color[3]
      r = [int((1 - a) * bg[i] + a * color[i]) for i in range(3)]
      return 'rgb' + str(tuple(r))