code: def interp_color(a, b, f):
      
      a_ = (a.redF(), a.greenF(), a.blueF())
      b_ = (b.redF(), b.greenF(), b.blueF())
      a_ = [x * (1 - f) for x in a_]
      b_ = [x * f for x in b_]
      c = [x + y for x, y in zip(a_, b_)]
      return QtGui.QColor.fromRgbF(*c)
docs: Interpolate between two colors.
  
      Returns:
          `QColor` object.