Combine the all purpose flour, baking soda, baking powder and salt in a small bowl. Stir well and set aside.
Combine the softened butter and sugar and mix with stand mixer (or hand mixer) on medium speed until light and fluffy.
Add the eggs, vanilla extract and almond extra to the mixing bowl and mix on medium speed until mostly combined.
Add the flour mixture to the mixing bowl about a third at a time. Mix on medium until combined.
Separate the dough into balls by how many different colors you want to use. [I usually do three, but you can do more or less.]
Next, put the first ball and a small amount of food coloring back into the mixing bowl. Mix until the color is completely combined. If needed, add more coloring until the desired color is reached. Thoroughly wash the mixing bowl before repeating with the next color. [Alternatively, you can color the dough by hand. Put on kitchen gloves. Work the food coloring in by kneading the dough in your hands. Continue adding color until desired color is reached. Wash your gloved hands thoroughly. Repeat with next color.]
If you're making cut out cookies, cover each dough ball separately with plastic wrap and chill for two hours. If you want slice and bake cookies, pieces together the colored dough as desired and roll into a 2 to 2.5 inch log.
Preheat the oven to 400℉.
Remove the dough from refrigerator. Prepare the cookie sheets with parchment paper, if desired. The cookies have enough butter that they do not stick.
For cut out cookies, take chunks from the desired colors and roll out. How you roll the dough will determine if colors stay separate or blend together. It's a personal preference. Have fun! Use little to no flour as it affects the color, and it's not necessary. Use cookie cutters to make desired shapes.
Place the cookies two inches apart on a cookie sheet. As soon as a cookie sheet is full, place it in the oven.
If the dough starts to warm up, place it back in the refrigerator. You can also place scraps back in the refrigerator to use at the end.
Bake 5-6 minutes. Tops will not look done, but the bottoms will be lightly browned. You don't want the tops of the cookies to brown as that will affect the color. Let the cookies cool on the cookie sheet. They will firm up as they cool.