Preheat the oven to 400° F.
In the bowl of a stand mixer, cream together the butter and sugar.
Sift together the flour, cocoa powder, baking powder, and salt.
Add the dry ingredients, egg, and vanilla to the butter mixture.
Beat until just combined.
If using food coloring, add and beat until it is incorporated.
Fill your cookie press with about ¼ of the dough, and press the cookies on an ungreased cookie sheet.
Add sprinkles if desired.
Bake for 6 to 8 minutes - until the cookies are set but not browned.
Allow to cool in the pan for 5 minutes, and then transfer to a cooling rack to cool completely.