Mark has a collection of toy cars. He has 12 red cars, 15 blue cars, and 18 green cars. He wants to pack these cars into boxes such that each box contains the same number of cars, and each box must have at least 1 car from each color. What is the maximum number of boxes he can create?