Note: Gradient Meshes are used. This is a set of 3D cubes with a gradient mesh on the outside. White portions are outlines and are separate so you can easily change colors. Blue background is a separate layer and can be changed or removed.
Vector set of 3d cubes with green, red and blue gradient.