• Merges two colors based on a given progress value.

    This function takes two colors (c1 and c2) represented as 32-bit integers in RGBA format and blends them based on the provided progress value (p). The result is a new color that is a weighted combination of the input colors, where the weight is determined by the progress value.

    Parameters

    • rgba1: number
    • rgba2: number
    • p: number

      The progress value between 0 and 1.

    Returns number

    The merged color as a 32-bit integer in RGBA format.