private static int blendColors(int color1, int color2, float factor) {
        final float inverseFactor = 1f - factor;
        float a = (Color.alpha(color1) * factor) + (Color.alpha(color2) * inverseFactor);
        float r = (Color.red(color1) * factor) + (Color.red(color2) * inverseFactor);
        float g = (Color.green(color1) * factor) + (Color.green(color2) * inverseFactor);
        float b = (Color.blue(color1) * factor) + (Color.blue(color2) * inverseFactor);
        return Color.argb((int) a, (int) r, (int) g, (int) b);
    }
The two colors that will be used for the seek thumb.

@param startColor Color used for the seek thumb
@param endColor   Color used for popup indicator
app/src/main/java/com/duan/musicoco/view/discreteseekbar/internal/drawable/MarkerDrawable.java