Preheat oven to 350. Line muffin pan with the white cupcake liners.
In a medium bowl, add the cake mix, butter, milk, and vanilla extract and stir until thoroughly combined.
Divide the batter into 3 bowls and leave one bowl white. Add blue food coloring to another bowl to create a deep blue, and stir well. Add red food coloring to the third bowl to create a deep red and stir well to combine.
Scoop about 1 tbsp of each colored batter into the cupcake continue to rotate colors until it is ¾ of the way full.
Bake in the oven for 18-20 minutes. Remove from oven and let cupcakes cool completely before frosting.
To make frosting - Using a stand mixer, combine all ingredients and mix on medium speed until you see stiff peaks in your frosting.
Split the frosting into three bowls, putting a little more in the bowl that will have the red frosting. Add about 2-4 drops of each color of food coloring: red in one bowl, blue in another and leave the third one white.
Place one piping bag into a large glass and fold the sides of the bag over. Scoop the red frosting into the piping bag. Squeeze a red layer of frosting onto all the cupcakes.
Scoop the white frosting into a piping bag. Squeeze a white layer of frosting onto all the cupcakes on top of the red frosting. Make the white layer a little smaller than the red.
Scoop the blue frosting into a piping bag. Squeeze a blue layer of frosting onto all the cupcakes on top of the red and white frosting. Make the blue layer a little smaller than the white layer.
Garnish with patriotic sprinkles.