Making dynamic borders for images

what app can i use to make multiple dynamic border/colors for a single image? such as this instagram page does. @shannonjwashie

Thank you.