Make or use a double boiler and whisk sugar and egg white in a heat-safe mixing bowl over a pan of simmering water. Whisk by hand until the sugar has melted and when you rub the mixture between your fingers and you should not feel any granules.
Place the egg and sugar mixture into the bowl of a stand mixer and whisk at low speed first, then at medium speed until it's a stiff, shiny, ribbon-like consistency. Touch the bottom of the pan to make sure it's cool, then you know it's ready. If it's not cool, your butter will melt, and the filling will be runny. Be Patient.
Switch to low speed again and add cubes of butter a little at a time, making sure it is combined after each addition.
Add food coloring, salt, and vanilla or almond extract. Increase the speed until everything is combined.
Add powdered sugar if you would like. I found it added a little more substance and made the butter flavor more subtle.