In a dutch oven, heat the olive oil over medium-high heat.Sauté the onion in the heated oil and cook until tender and transparent.Add the garlic and cook for one additional minute.
Add black food coloring and move the pasta around until it is fully coated.Allow it to sit for 5 minutes.Place the dyed pasta in a strainer and rinse until the water runs clear.