Material colors are showing only after render in Blender 2.8
By default blender viewport solid mode does not show material colors, you can see 4 viewport shading modes in the upper right corner



Those are in order, left to right: wireframe, solid, material preview and rendered. By default material

By default solid shading will not show materials, but material preview and rendered will.