Start by buttering three 9-inch cake pans with softened butter. Cut parchment circles out to line the bottoms (there’s a trick to that), butter those, then spoon in flour into one pan. Hit it all around and knock it into the next pan, continuing on to the third pan until all three pans are buttered, floured, and ready for battle.
Preheat the oven to 350 degrees F.
In the base of an electric mixer, cream the butter and sugar until fluffy. Tear open the almond paste tube and start throwing in little pieces as the mixer whirs. Keep going until you’ve used all 12 ounces of almond paste and allow that to work into the butter and sugar for another 5 minutes. When the mixture looks smooth and you don’t see any lumps, start adding the eggs, one at a time. Also add the almond extract, then the milk. (Note: at this point, the mixture might look broken. Don’t worry about it.)
Add your dry ingredients–the flour, baking powder, and salt–and mix just until incorporated. Separate the mixture into three bowls and color each bowl with food coloring, red, yellow, and green. (Use a rubber spatula to incorporate.) Pour the three mixtures into your three prepped cake pans and bake for 20 to 25 minutes until a cake tester comes out clean.
Allow the cakes to cool completely. Then take the red out first, peel off the parchment, and put it onto a cake stand that’s also lined with parchment pieces (see essay above for why). Slather on the seedless raspberry jam so it goes right to the edges; top with the yellow layer and slather that with the apricot jam. Top with the green layer.
Heat the cream in a pot until bubbles form around the edges and pour over the chocolate chips. Let sit for 15 seconds then whisk vigorously until you have a smooth mixture. Allow to come to room temperature, then pour all over the cake. Spread around with an offset spatula and if big globs of chocolate fall on the cake stand, don’t worry about it—you’ve lined it with parchment. When you’re done, yank the parchment away and behold your beautiful cake.
Allow the chocolate to set for an hour or two, then it’s ready to serve. (I like it even better the next day, if you refrigerate it, the chocolate gets really nice and thick.) Happy rainbow cookie cake eating.