code: protected final Color getDerivedColor(Color color1, Color color2,
                                            float midPoint) {
              return getDerivedColor(color1, color2, midPoint, true);
          }
docs: Decodes and returns a color, which is derived from a offset between two
  other colors.
  
  @param color1   The first color
  @param color2   The second color
  @param midPoint The offset between color 1 and color 2, a value of 0.0 is
  color 1 and 1.0 is color 2;
  @return The derived color, which will be a UIResource