Tint each cookie dough part with each of the gel food colors (red, yellow, blue, and purple) and knead together until the color is well-blended. In the end you should have one red ball of cookie dough, one yellow, one blue, and one purple.
Wrap each colored cookie dough in plastic wrap and chill in the refrigerator for at least 30 minutes.