Modular forms and $k$-colored generalized Frobenius partitions