Place the butter in the body of a stand mixer with the paddle attachment. Whip the butter until smooth.
Add the powdered sugar a little at a time until fully incorporated. Scrape down the sides.
Add the salt, milk, and vanilla extract. Stir it in until combined, then whip on medium-high speed for 3 minutes until light and fluffy.
Divide the buttercream between 5 small bowls. Add a different food color into each bowl and mix until the desired color is achieved, take note that the color will darken slightly as it sits.
Take 5 pastry bags or gallon-sized bags and add the different color frosting to each of the bags.
Place a piece of plastic wrap on your work surface. Snip off the ends of the bags and pipe about 1-inch sized stripes of frosting around 8 inches long. One color after the other touching until you have 5 stripes.
Carefully roll the plastic wrap over itself so the frosting forms a log, overlapping the plastic wrap. Twist both ends to seal the frosting in place.
Get a large pastry bag secured with a 1M open star tip. Snip off one edge of the log of frosting and gently place it into the pastry bag.
Frost cupcakes in the pattern you desire. Serve immediately.