Colored matroids