Cohomology of 3-dimensional color Lie algebras