Preheat oven to 350 degrees. Lightly spray 10 cupcake molds with cooking spray or line an 8 x 8 inch cake pan with parchment paper. Set aside
Sift all the dry ingredients into a large mixing bowl until fully combined and there are no lumps
Stir in the eggs until fully combined and all the dry ingredients are moist. Stir in the butter until fully combined. Stir in the yogurt and vanilla until fully combined and a smooth dough has formed
Fold in the desired amount of food coloring until the dough is desired color. If using liquid food coloring you may need to add a tiny bit more coconut flour so the dough will not be too wet
Scrape down sides of the bowl and push dough to the center of the bowl. Divide dough evenly amongst the prepared cupcake molds or cake pan. Press dough evenly throughout the molds or cake pan. Make sure the tops stay smooth
Place in preheated oven. Bake at 350 degrees 18-20 minutes or until a tester comes out clean
Remove from oven. Allow to cool in pan at least 30 minutes to firm up. Once firm remove from the molds and transfer to a wire rack. Allow to cool completely before frosting