Preheat your oven to 350°F. Grease three 8-inch round cake pans and line the bottoms with parchment paper.
In a bowl, whisk together flour, baking powder, baking soda, and salt.
In a mixer, beat butter, oil, and sugar on medium speed for 2 minutes.
Add eggs, vanilla, and almond extract, and beat for another minute.
Gradually add half of the flour mixture, followed by half of the buttermilk. Repeat with remaining flour mixture and buttermilk.
Fold in ground pistachios and food coloring.
Divide the batter evenly between the pans and bake for 25-30 minutes. Let cool for 10 minutes, then transfer to a cooling rack to cool completely.