In this paper we exhibit the box-stacking principle (BSP) in conjunction with Young diagrams to prove generalizations of Stanley's and Elder's theorems without even the use of partition statistics in general. We primarily focus on to study Stanley's theorem in color partition context.