You can specify color for individual objects (e.g. line color = red) that will remain the same regardless of which layer they're on, or you can assign the object color to be "ByLayer" (i.e. the color assigned to the layer), which will change if it changes layers. For what you want to do, you have to assign the object colors specifically, instead of using the ByLayer or ByBlock default.