Line an 8" x 4" loaf pan with parchment paper, waxed paper or plastic wrap. Set aside.
In a bowl mix together the rice flour, potato starch, tapioca flour, xanthan or guar, baking soda and salt. Set aside. In the bowl of your mixer cream together the margarine and sugar. When fluffy, blend in the egg, vanilla and almond extract. Add dry ingredients to mixing bowl and mix until completely blended, scraping down mixing bowl as needed. Divide dough into three parts. Leave one plain, mix yellow coloring into the second and orange coloring into the third dough section.
Pat dough without coloring evenly into the bottom of the lined pan. Next carefully pat yellow dough evenly on top of the plain dough. Finally, pat orange dough into an even layer on top of the yellow dough. Wrap pan well and chill for at least 2 hours or overnight.
Preheat oven to 375 degrees F. Unwrap dough and slice loaf starting on the short end into 1/4" slices. Cut each slice into 5 triangles by making angled cuts (see photo). Place cookies onto baking sheet about 1" apart and bake for 8 to 10 minutes unto lightly browned on the bottom and the cookies are set. Place cookies onto a cooking rack or roll hot cookies in sugar for some extra sparkle, if that's how you roll. :)