Large Deviations Principle for Occupancy Problems with Colored Balls